CodeRepositoryMetadata
Contains metadata information about a code repository that is being scanned by Amazon Inspector.
Contents
- projectName
-
The name of the project in the code repository.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 300.
Required: Yes
- providerType
-
The type of repository provider (such as GitHub, GitLab, etc.).
Type: String
Length Constraints: Minimum length of 1. Maximum length of 300.
Required: Yes
- providerTypeVisibility
-
The visibility setting of the repository (public or private).
Type: String
Length Constraints: Minimum length of 1. Maximum length of 300.
Required: Yes
- integrationArn
-
The Amazon Resource Name (ARN) of the code security integration associated with the repository.
Type: String
Pattern:
^arn:(aws[a-zA-Z-]*)?:inspector2:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:codesecurity-integration\/[a-f0-9-]{36}$
Required: No
- lastScannedCommitId
-
The ID of the last commit that was scanned in the repository.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 40.
Pattern:
^([a-f0-9]{40})$
Required: No
- onDemandScan
-
Information about on-demand scans performed on the repository.
Type: CodeRepositoryOnDemandScan object
Required: No
- scanConfiguration
-
The scan configuration settings applied to the code repository.
Type: ProjectCodeSecurityScanConfiguration object
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: