@pulumi/pulumiservice
Version:
[](https://slack.pulumi.com) [](https://www.npmjs.com/package/@pulumi/pulumiservice) [: Promise<GetInsightsAccountResult>;
export interface GetInsightsAccountArgs {
accountName: string;
organizationName: string;
}
export interface GetInsightsAccountResult {
/**
* Name of the insights account.
*/
readonly accountName: string;
/**
* The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0').
*/
readonly environment: string;
/**
* The insights account identifier.
*/
readonly insightsAccountId: string;
/**
* The organization's name.
*/
readonly organizationName: string;
/**
* The cloud provider for scanning.
*/
readonly provider: enums.CloudProvider;
/**
* Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}.
*/
readonly providerConfig?: {
[key: string]: any;
};
/**
* Schedule for automated scanning. Use 'daily' for daily scans, '12h' for scans every twelve hours, or 'none' to disable scheduled scanning. Defaults to 'none'.
*/
readonly scanSchedule: enums.ScanSchedule;
/**
* Whether scheduled scanning is enabled.
*/
readonly scheduledScanEnabled: boolean;
/**
* Key-value tags to associate with the insights account.
*/
readonly tags?: {
[key: string]: string;
};
}
/**
* Get details about a specific Insights account.
*/
export declare function getInsightsAccountOutput(args: GetInsightsAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInsightsAccountResult>;
export interface GetInsightsAccountOutputArgs {
accountName: pulumi.Input<string>;
organizationName: pulumi.Input<string>;
}
//# sourceMappingURL=getInsightsAccount.d.ts.map