public static interface Vulnerability.Builder extends SdkPojo, CopyableBuilder<Vulnerability.Builder,Vulnerability>
| Modifier and Type | Method and Description |
|---|---|
Vulnerability.Builder |
codeVulnerabilities(Collection<VulnerabilityCodeVulnerabilities> codeVulnerabilities)
The vulnerabilities found in your Lambda function code.
|
Vulnerability.Builder |
codeVulnerabilities(Consumer<VulnerabilityCodeVulnerabilities.Builder>... codeVulnerabilities)
The vulnerabilities found in your Lambda function code.
|
Vulnerability.Builder |
codeVulnerabilities(VulnerabilityCodeVulnerabilities... codeVulnerabilities)
The vulnerabilities found in your Lambda function code.
|
Vulnerability.Builder |
cvss(Collection<Cvss> cvss)
CVSS scores from the advisory related to the vulnerability.
|
Vulnerability.Builder |
cvss(Consumer<Cvss.Builder>... cvss)
CVSS scores from the advisory related to the vulnerability.
|
Vulnerability.Builder |
cvss(Cvss... cvss)
CVSS scores from the advisory related to the vulnerability.
|
Vulnerability.Builder |
epssScore(Double epssScore)
The Exploit Prediction Scoring System (EPSS) score for a finding.
|
Vulnerability.Builder |
exploitAvailable(String exploitAvailable)
Whether an exploit is available for a finding.
|
Vulnerability.Builder |
exploitAvailable(VulnerabilityExploitAvailable exploitAvailable)
Whether an exploit is available for a finding.
|
Vulnerability.Builder |
fixAvailable(String fixAvailable)
Specifies if all vulnerable packages in a finding have a value for
FixedInVersion and
Remediation. |
Vulnerability.Builder |
fixAvailable(VulnerabilityFixAvailable fixAvailable)
Specifies if all vulnerable packages in a finding have a value for
FixedInVersion and
Remediation. |
Vulnerability.Builder |
id(String id)
The identifier of the vulnerability.
|
Vulnerability.Builder |
referenceUrls(Collection<String> referenceUrls)
A list of URLs that provide additional information about the vulnerability.
|
Vulnerability.Builder |
referenceUrls(String... referenceUrls)
A list of URLs that provide additional information about the vulnerability.
|
Vulnerability.Builder |
relatedVulnerabilities(Collection<String> relatedVulnerabilities)
List of vulnerabilities that are related to this vulnerability.
|
Vulnerability.Builder |
relatedVulnerabilities(String... relatedVulnerabilities)
List of vulnerabilities that are related to this vulnerability.
|
default Vulnerability.Builder |
vendor(Consumer<VulnerabilityVendor.Builder> vendor)
Information about the vendor that generates the vulnerability report.
|
Vulnerability.Builder |
vendor(VulnerabilityVendor vendor)
Information about the vendor that generates the vulnerability report.
|
Vulnerability.Builder |
vulnerablePackages(Collection<SoftwarePackage> vulnerablePackages)
List of software packages that have the vulnerability.
|
Vulnerability.Builder |
vulnerablePackages(Consumer<SoftwarePackage.Builder>... vulnerablePackages)
List of software packages that have the vulnerability.
|
Vulnerability.Builder |
vulnerablePackages(SoftwarePackage... vulnerablePackages)
List of software packages that have the vulnerability.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVulnerability.Builder id(String id)
The identifier of the vulnerability.
id - The identifier of the vulnerability.Vulnerability.Builder vulnerablePackages(Collection<SoftwarePackage> vulnerablePackages)
List of software packages that have the vulnerability.
vulnerablePackages - List of software packages that have the vulnerability.Vulnerability.Builder vulnerablePackages(SoftwarePackage... vulnerablePackages)
List of software packages that have the vulnerability.
vulnerablePackages - List of software packages that have the vulnerability.Vulnerability.Builder vulnerablePackages(Consumer<SoftwarePackage.Builder>... vulnerablePackages)
List of software packages that have the vulnerability.
This is a convenience method that creates an instance of theSoftwarePackage.Builder avoiding the need to create
one manually via SoftwarePackage.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #vulnerablePackages(List.
vulnerablePackages - a consumer that will call methods on
SoftwarePackage.Builder#vulnerablePackages(java.util.Collection) Vulnerability.Builder cvss(Collection<Cvss> cvss)
CVSS scores from the advisory related to the vulnerability.
cvss - CVSS scores from the advisory related to the vulnerability.Vulnerability.Builder cvss(Cvss... cvss)
CVSS scores from the advisory related to the vulnerability.
cvss - CVSS scores from the advisory related to the vulnerability.Vulnerability.Builder cvss(Consumer<Cvss.Builder>... cvss)
CVSS scores from the advisory related to the vulnerability.
This is a convenience method that creates an instance of theCvss.Builder avoiding the need to create one
manually via Cvss.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #cvss(List.
cvss - a consumer that will call methods on
Cvss.Builder#cvss(java.util.Collection) Vulnerability.Builder relatedVulnerabilities(Collection<String> relatedVulnerabilities)
List of vulnerabilities that are related to this vulnerability.
relatedVulnerabilities - List of vulnerabilities that are related to this vulnerability.Vulnerability.Builder relatedVulnerabilities(String... relatedVulnerabilities)
List of vulnerabilities that are related to this vulnerability.
relatedVulnerabilities - List of vulnerabilities that are related to this vulnerability.Vulnerability.Builder vendor(VulnerabilityVendor vendor)
Information about the vendor that generates the vulnerability report.
vendor - Information about the vendor that generates the vulnerability report.default Vulnerability.Builder vendor(Consumer<VulnerabilityVendor.Builder> vendor)
Information about the vendor that generates the vulnerability report.
This is a convenience method that creates an instance of theVulnerabilityVendor.Builder avoiding the
need to create one manually via VulnerabilityVendor.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to vendor(VulnerabilityVendor).
vendor - a consumer that will call methods on VulnerabilityVendor.Buildervendor(VulnerabilityVendor)Vulnerability.Builder referenceUrls(Collection<String> referenceUrls)
A list of URLs that provide additional information about the vulnerability.
referenceUrls - A list of URLs that provide additional information about the vulnerability.Vulnerability.Builder referenceUrls(String... referenceUrls)
A list of URLs that provide additional information about the vulnerability.
referenceUrls - A list of URLs that provide additional information about the vulnerability.Vulnerability.Builder fixAvailable(String fixAvailable)
Specifies if all vulnerable packages in a finding have a value for FixedInVersion and
Remediation. This field is evaluated for each vulnerability Id based on the number
of vulnerable packages that have a value for both FixedInVersion and Remediation.
Valid values are as follows:
YES if all vulnerable packages have a value for both FixedInVersion and
Remediation
NO if no vulnerable packages have a value for FixedInVersion and
Remediation
PARTIAL otherwise
fixAvailable - Specifies if all vulnerable packages in a finding have a value for FixedInVersion and
Remediation. This field is evaluated for each vulnerability Id based on the
number of vulnerable packages that have a value for both FixedInVersion and
Remediation. Valid values are as follows:
YES if all vulnerable packages have a value for both FixedInVersion and
Remediation
NO if no vulnerable packages have a value for FixedInVersion and
Remediation
PARTIAL otherwise
VulnerabilityFixAvailable,
VulnerabilityFixAvailableVulnerability.Builder fixAvailable(VulnerabilityFixAvailable fixAvailable)
Specifies if all vulnerable packages in a finding have a value for FixedInVersion and
Remediation. This field is evaluated for each vulnerability Id based on the number
of vulnerable packages that have a value for both FixedInVersion and Remediation.
Valid values are as follows:
YES if all vulnerable packages have a value for both FixedInVersion and
Remediation
NO if no vulnerable packages have a value for FixedInVersion and
Remediation
PARTIAL otherwise
fixAvailable - Specifies if all vulnerable packages in a finding have a value for FixedInVersion and
Remediation. This field is evaluated for each vulnerability Id based on the
number of vulnerable packages that have a value for both FixedInVersion and
Remediation. Valid values are as follows:
YES if all vulnerable packages have a value for both FixedInVersion and
Remediation
NO if no vulnerable packages have a value for FixedInVersion and
Remediation
PARTIAL otherwise
VulnerabilityFixAvailable,
VulnerabilityFixAvailableVulnerability.Builder epssScore(Double epssScore)
The Exploit Prediction Scoring System (EPSS) score for a finding.
epssScore - The Exploit Prediction Scoring System (EPSS) score for a finding.Vulnerability.Builder exploitAvailable(String exploitAvailable)
Whether an exploit is available for a finding.
exploitAvailable - Whether an exploit is available for a finding.VulnerabilityExploitAvailable,
VulnerabilityExploitAvailableVulnerability.Builder exploitAvailable(VulnerabilityExploitAvailable exploitAvailable)
Whether an exploit is available for a finding.
exploitAvailable - Whether an exploit is available for a finding.VulnerabilityExploitAvailable,
VulnerabilityExploitAvailableVulnerability.Builder codeVulnerabilities(Collection<VulnerabilityCodeVulnerabilities> codeVulnerabilities)
The vulnerabilities found in your Lambda function code. This field pertains to findings that Security Hub receives from Amazon Inspector.
codeVulnerabilities - The vulnerabilities found in your Lambda function code. This field pertains to findings that Security
Hub receives from Amazon Inspector.Vulnerability.Builder codeVulnerabilities(VulnerabilityCodeVulnerabilities... codeVulnerabilities)
The vulnerabilities found in your Lambda function code. This field pertains to findings that Security Hub receives from Amazon Inspector.
codeVulnerabilities - The vulnerabilities found in your Lambda function code. This field pertains to findings that Security
Hub receives from Amazon Inspector.Vulnerability.Builder codeVulnerabilities(Consumer<VulnerabilityCodeVulnerabilities.Builder>... codeVulnerabilities)
The vulnerabilities found in your Lambda function code. This field pertains to findings that Security Hub receives from Amazon Inspector.
This is a convenience method that creates an instance of theVulnerabilityCodeVulnerabilities.Builder avoiding
the need to create one manually via
VulnerabilityCodeVulnerabilities.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #codeVulnerabilities(List.
codeVulnerabilities - a consumer that will call methods on
VulnerabilityCodeVulnerabilities.Builder#codeVulnerabilities(java.util.Collection) Copyright © 2023. All rights reserved.