@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
78 lines (77 loc) • 2.38 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::SecurityAgent::Pentest
*/
export declare function getPentest(args: GetPentestArgs, opts?: pulumi.InvokeOptions): Promise<GetPentestResult>;
export interface GetPentestArgs {
/**
* Identifier of agent space where the pentest should be created
*/
agentSpaceId: string;
/**
* Unique identifier of the pentest
*/
pentestId: string;
}
export interface GetPentestResult {
/**
* Collection of assets to be tested or used during the penetration test
*/
readonly assets?: outputs.securityagent.PentestAssets;
/**
* Strategy for code remediation on findings
*/
readonly codeRemediationStrategy?: enums.securityagent.PentestCodeRemediationStrategy;
/**
* Timestamp when the pentest was created
*/
readonly createdAt?: string;
/**
* A list of risk types excluded from the pentest execution
*/
readonly excludeRiskTypes?: enums.securityagent.PentestRiskType[];
/**
* CloudWatch logs config
*/
readonly logConfig?: outputs.securityagent.PentestCloudWatchLog;
/**
* Configuration for network traffic filtering
*/
readonly networkTrafficConfig?: outputs.securityagent.PentestNetworkTrafficConfig;
/**
* Unique identifier of the pentest
*/
readonly pentestId?: string;
/**
* Service role for accessing resources
*/
readonly serviceRole?: string;
/**
* Title of the penetration test
*/
readonly title?: string;
/**
* Timestamp when the pentest was last updated
*/
readonly updatedAt?: string;
/**
* VPC configuration that the security testing environment accesses
*/
readonly vpcConfig?: outputs.securityagent.PentestVpcConfig;
}
/**
* Resource Type definition for AWS::SecurityAgent::Pentest
*/
export declare function getPentestOutput(args: GetPentestOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPentestResult>;
export interface GetPentestOutputArgs {
/**
* Identifier of agent space where the pentest should be created
*/
agentSpaceId: pulumi.Input<string>;
/**
* Unique identifier of the pentest
*/
pentestId: pulumi.Input<string>;
}