VulnerablePackage
Information on the vulnerable package identified by a finding.
Contents
- name
-
The name of the vulnerable package.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: Yes
- version
-
The version of the vulnerable package.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: Yes
- arch
-
The architecture of the vulnerable package.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Required: No
- epoch
-
The epoch of the vulnerable package.
Type: Integer
Required: No
- filePath
-
The file path of the vulnerable package.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
- fixedInVersion
-
The version of the package that contains the vulnerability fix.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
- packageManager
-
The package manager of the vulnerable package.
Type: String
Valid Values:
BUNDLER | CARGO | COMPOSER | NPM | NUGET | PIPENV | POETRY | YARN | GOBINARY | GOMOD | JAR | OS | PIP | PYTHONPKG | NODEPKG | POM | GEMSPEC | DOTNET_CORERequired: No
- purl
-
The package URL (purl) of the vulnerable package.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Required: No
- release
-
The release of the vulnerable package.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
- remediation
-
The code to run in your environment to update packages with a fix available.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
- runtimeReachability
-
The runtime reachability status of the vulnerable package. For more information, see Understanding runtime reachability in the Amazon Inspector user guide.
Type: String
Valid Values:
REACHABLE | NOT_REACHABLE | UNKNOWNRequired: No
- runtimeReachabilityReason
-
The reason for the runtime reachability status of the vulnerable package. For more information, see Understanding runtime reachability in the Amazon Inspector user guide.
Type: String
Valid Values:
PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH | PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH | PROCESS_OBSERVED_IN_EC2_RUNTIME | PROCESS_NOT_OBSERVED_IN_EC2_RUNTIMERequired: No
- sourceLambdaLayerArn
-
The Amazon Resource Number (ARN) of the Amazon Lambda function affected by a finding.
Type: String
Pattern:
arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\d{12}:layer:[a-zA-Z0-9-_]+:[0-9]+Required: No
- sourceLayerHash
-
The source layer hash of the vulnerable package.
Type: String
Length Constraints: Fixed length of 71.
Pattern:
sha256:[a-z0-9]{64}Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: