1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. securityagent
  5. getPentest

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.61.0
published on Monday, Apr 13, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.61.0
published on Monday, Apr 13, 2026 by Pulumi

    Resource Type definition for AWS::SecurityAgent::Pentest

    Using getPentest

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPentest(args: GetPentestArgs, opts?: InvokeOptions): Promise<GetPentestResult>
    function getPentestOutput(args: GetPentestOutputArgs, opts?: InvokeOptions): Output<GetPentestResult>
    def get_pentest(agent_space_id: Optional[str] = None,
                    pentest_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetPentestResult
    def get_pentest_output(agent_space_id: Optional[pulumi.Input[str]] = None,
                    pentest_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetPentestResult]
    func LookupPentest(ctx *Context, args *LookupPentestArgs, opts ...InvokeOption) (*LookupPentestResult, error)
    func LookupPentestOutput(ctx *Context, args *LookupPentestOutputArgs, opts ...InvokeOption) LookupPentestResultOutput

    > Note: This function is named LookupPentest in the Go SDK.

    public static class GetPentest 
    {
        public static Task<GetPentestResult> InvokeAsync(GetPentestArgs args, InvokeOptions? opts = null)
        public static Output<GetPentestResult> Invoke(GetPentestInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPentestResult> getPentest(GetPentestArgs args, InvokeOptions options)
    public static Output<GetPentestResult> getPentest(GetPentestArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:securityagent:getPentest
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AgentSpaceId string
    PentestId string
    AgentSpaceId string
    PentestId string
    agentSpaceId String
    pentestId String
    agentSpaceId string
    pentestId string
    agentSpaceId String
    pentestId String

    getPentest Result

    The following output properties are available:

    assets Property Map
    codeRemediationStrategy "AUTOMATIC" | "DISABLED"
    createdAt String
    excludeRiskTypes List<"CROSS_SITE_SCRIPTING" | "DEFAULT_CREDENTIALS" | "INSECURE_DIRECT_OBJECT_REFERENCE" | "PRIVILEGE_ESCALATION" | "SERVER_SIDE_TEMPLATE_INJECTION" | "COMMAND_INJECTION" | "CODE_INJECTION" | "SQL_INJECTION" | "ARBITRARY_FILE_UPLOAD" | "INSECURE_DESERIALIZATION" | "LOCAL_FILE_INCLUSION" | "INFORMATION_DISCLOSURE" | "PATH_TRAVERSAL" | "SERVER_SIDE_REQUEST_FORGERY" | "JSON_WEB_TOKEN_VULNERABILITIES" | "XML_EXTERNAL_ENTITY" | "FILE_DELETION" | "OTHER" | "GRAPHQL_VULNERABILITIES" | "BUSINESS_LOGIC_VULNERABILITIES" | "CRYPTOGRAPHIC_VULNERABILITIES" | "DENIAL_OF_SERVICE" | "FILE_ACCESS" | "FILE_CREATION" | "DATABASE_MODIFICATION" | "DATABASE_ACCESS" | "OUTBOUND_SERVICE_REQUEST" | "UNKNOWN">
    logConfig Property Map
    networkTrafficConfig Property Map
    pentestId String
    serviceRole String
    title String
    updatedAt String
    vpcConfig Property Map

    Supporting Types

    PentestActor

    PentestAssets

    PentestAuthentication

    PentestAuthenticationProviderType

    PentestCloudWatchLog

    LogGroup string
    LogStream string
    LogGroup string
    LogStream string
    logGroup String
    logStream String
    logGroup string
    logStream string
    logGroup String
    logStream String

    PentestCodeRemediationStrategy

    PentestCustomHeader

    Name string
    Value string
    Name string
    Value string
    name String
    value String
    name string
    value string
    name str
    value str
    name String
    value String

    PentestDocumentInfo

    ArtifactId string
    S3Location string
    ArtifactId string
    S3Location string
    artifactId String
    s3Location String
    artifactId string
    s3Location string
    artifactId String
    s3Location String

    PentestEndpoint

    Uri string
    Uri string
    uri String
    uri string
    uri str
    uri String

    PentestIntegratedRepository

    PentestNetworkTrafficConfig

    PentestNetworkTrafficRule

    PentestNetworkTrafficRuleEffect

    PentestNetworkTrafficRuleNetworkTrafficRuleType

    PentestRiskType

    PentestSourceCodeRepository

    S3Location string
    S3Location string
    s3Location String
    s3Location string
    s3Location String

    PentestVpcConfig

    SecurityGroupArns List<string>
    SubnetArns List<string>
    VpcArn string
    SecurityGroupArns []string
    SubnetArns []string
    VpcArn string
    securityGroupArns List<String>
    subnetArns List<String>
    vpcArn String
    securityGroupArns string[]
    subnetArns string[]
    vpcArn string
    security_group_arns Sequence[str]
    subnet_arns Sequence[str]
    vpc_arn str
    securityGroupArns List<String>
    subnetArns List<String>
    vpcArn String

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.61.0
    published on Monday, Apr 13, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.