Skip to content
v2.273.0

AssetsProperty Struct ​

Collection of assets to be tested during the pentest.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const assetsProperty: securityagent.CfnPentest.AssetsProperty = {
  actors: [{
    authentication: {
      providerType: 'providerType',
      value: 'value',
    },
    description: 'description',
    enableEmailMfa: false,
    identifier: 'identifier',
    mfaForwardingAddress: 'mfaForwardingAddress',
    uris: ['uris'],
  }],
  documents: [{
    artifactId: 'artifactId',
    s3Location: 's3Location',
  }],
  endpoints: [{
    uri: 'uri',
  }],
  integratedRepositories: [{
    integrationId: 'integrationId',
    providerResourceId: 'providerResourceId',

    // the properties below are optional
    branch: 'branch',
  }],
  sourceCode: [{
    s3Location: 's3Location',
  }],
  trustedCaCertificates: [{
    source: {
      artifactId: 'artifactId',
      inlinePem: 'inlinePem',
      s3Location: 's3Location',
    },
  }],
};

Properties ​

actorsIResolvable | IResolvable | CfnPentest.ActorProperty[]actorstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ActorProperty]]]actorsIResolvableActorsIResolvableActorsinterface{}#
List of actors used during testing.
documentsIResolvable | IResolvable | CfnPentest.DocumentInfoProperty[]documentstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DocumentInfoProperty]]]documentsIResolvableDocumentsIResolvableDocumentsinterface{}#
List of documents providing additional context for the pentest.
endpointsIResolvable | IResolvable | CfnPentest.EndpointProperty[]endpointstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EndpointProperty]]]endpointsIResolvableEndpointsIResolvableEndpointsinterface{}#
List of endpoints to test.
integratedRepositoriesIResolvable | IResolvable | CfnPentest.IntegratedRepositoryProperty[]integrated_repositoriestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, IntegratedRepositoryProperty]]]integratedRepositoriesIResolvableIntegratedRepositoriesIResolvableIntegratedRepositoriesinterface{}#
List of repositories connected via provider integrations.
sourceCodeIResolvable | IResolvable | CfnPentest.SourceCodeRepositoryProperty[]source_codetyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SourceCodeRepositoryProperty]]]sourceCodeIResolvableSourceCodeIResolvableSourceCodeinterface{}#
List of source code repositories to analyze.
trustedCaCertificatesIResolvable | IResolvable | CfnPentest.TrustedCaCertificateProperty[]trusted_ca_certificatestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TrustedCaCertificateProperty]]]trustedCaCertificatesIResolvableTrustedCaCertificatesIResolvableTrustedCaCertificatesinterface{}#
Trust anchors for validating target endpoint TLS certificates, for endpoints served by a private or internal CA, an intermediate CA, or a self-signed certificate.