Interface ScanResultConditionRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScanResultConditionRequest.Builder,,ScanResultConditionRequest> SdkBuilder<ScanResultConditionRequest.Builder,,ScanResultConditionRequest> SdkPojo
- Enclosing class:
ScanResultConditionRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxDaysSinceCriticalFixAvailable(Integer maxDaysSinceCriticalFixAvailable) The maximum number of days since Amazon Inspector reported a fix as available for acriticalseverity finding on the AMI.maxDaysSinceHighFixAvailable(Integer maxDaysSinceHighFixAvailable) The maximum number of days since Amazon Inspector reported a fix as available for ahighseverity finding on the AMI.maxDaysSinceInformationalFixAvailable(Integer maxDaysSinceInformationalFixAvailable) The maximum number of days since Amazon Inspector reported a fix as available for aninformationalseverity finding on the AMI.maxDaysSinceLastFindingScan(Integer maxDaysSinceLastFindingScan) The maximum number of days that have elapsed since Amazon Inspector last scanned the AMI.maxDaysSinceLowFixAvailable(Integer maxDaysSinceLowFixAvailable) The maximum number of days since Amazon Inspector reported a fix as available for alowseverity finding on the AMI.maxDaysSinceMediumFixAvailable(Integer maxDaysSinceMediumFixAvailable) The maximum number of days since Amazon Inspector reported a fix as available for amediumseverity finding on the AMI.maximumSeverityLabel(String maximumSeverityLabel) The maximum severity that an AMI's Amazon Inspector findings can have for the AMI to be allowed.maximumSeverityLabel(SeverityLabel maximumSeverityLabel) The maximum severity that an AMI's Amazon Inspector findings can have for the AMI to be allowed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
maxDaysSinceLastFindingScan
The maximum number of days that have elapsed since Amazon Inspector last scanned the AMI. For example, a value of
7allows AMIs that were scanned within the last 7 days. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Parameters:
maxDaysSinceLastFindingScan- The maximum number of days that have elapsed since Amazon Inspector last scanned the AMI. For example, a value of7allows AMIs that were scanned within the last 7 days. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumSeverityLabel
The maximum severity that an AMI's Amazon Inspector findings can have for the AMI to be allowed. Findings count whether or not a fix is available. For example, a value of
mediumallows AMIs whose highest severity isinformational,low, ormedium.The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:
-
informational- CVSS score of 0. -
low- CVSS score of 0.1 to 3.9. -
medium- CVSS score of 4.0 to 6.9. -
high- CVSS score of 7.0 to 8.9. -
critical- CVSS score of 9.0 to 10.0.
For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.
A scanned AMI that has no findings meets this limit.
AMIs that Amazon Inspector has not scanned are not allowed when you specify this condition.
- Parameters:
maximumSeverityLabel- The maximum severity that an AMI's Amazon Inspector findings can have for the AMI to be allowed. Findings count whether or not a fix is available. For example, a value ofmediumallows AMIs whose highest severity isinformational,low, ormedium.The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:
-
informational- CVSS score of 0. -
low- CVSS score of 0.1 to 3.9. -
medium- CVSS score of 4.0 to 6.9. -
high- CVSS score of 7.0 to 8.9. -
critical- CVSS score of 9.0 to 10.0.
For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.
A scanned AMI that has no findings meets this limit.
AMIs that Amazon Inspector has not scanned are not allowed when you specify this condition.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
maximumSeverityLabel
The maximum severity that an AMI's Amazon Inspector findings can have for the AMI to be allowed. Findings count whether or not a fix is available. For example, a value of
mediumallows AMIs whose highest severity isinformational,low, ormedium.The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:
-
informational- CVSS score of 0. -
low- CVSS score of 0.1 to 3.9. -
medium- CVSS score of 4.0 to 6.9. -
high- CVSS score of 7.0 to 8.9. -
critical- CVSS score of 9.0 to 10.0.
For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.
A scanned AMI that has no findings meets this limit.
AMIs that Amazon Inspector has not scanned are not allowed when you specify this condition.
- Parameters:
maximumSeverityLabel- The maximum severity that an AMI's Amazon Inspector findings can have for the AMI to be allowed. Findings count whether or not a fix is available. For example, a value ofmediumallows AMIs whose highest severity isinformational,low, ormedium.The valid values are the following Amazon Inspector severity levels, which correspond to CVSS score ranges:
-
informational- CVSS score of 0. -
low- CVSS score of 0.1 to 3.9. -
medium- CVSS score of 4.0 to 6.9. -
high- CVSS score of 7.0 to 8.9. -
critical- CVSS score of 9.0 to 10.0.
For more information, see Software package vulnerability severity in the Amazon Inspector User Guide.
A scanned AMI that has no findings meets this limit.
AMIs that Amazon Inspector has not scanned are not allowed when you specify this condition.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
maxDaysSinceInformationalFixAvailable
ScanResultConditionRequest.Builder maxDaysSinceInformationalFixAvailable(Integer maxDaysSinceInformationalFixAvailable) The maximum number of days since Amazon Inspector reported a fix as available for an
informationalseverity finding on the AMI. For example, a value of7does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.A scanned AMI that has no
informationalseverity finding with a fix available meets this limit. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Parameters:
maxDaysSinceInformationalFixAvailable- The maximum number of days since Amazon Inspector reported a fix as available for aninformationalseverity finding on the AMI. For example, a value of7does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.A scanned AMI that has no
informationalseverity finding with a fix available meets this limit. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxDaysSinceLowFixAvailable
The maximum number of days since Amazon Inspector reported a fix as available for a
lowseverity finding on the AMI. For example, a value of7does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.A scanned AMI that has no
lowseverity finding with a fix available meets this limit. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Parameters:
maxDaysSinceLowFixAvailable- The maximum number of days since Amazon Inspector reported a fix as available for alowseverity finding on the AMI. For example, a value of7does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.A scanned AMI that has no
lowseverity finding with a fix available meets this limit. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxDaysSinceMediumFixAvailable
ScanResultConditionRequest.Builder maxDaysSinceMediumFixAvailable(Integer maxDaysSinceMediumFixAvailable) The maximum number of days since Amazon Inspector reported a fix as available for a
mediumseverity finding on the AMI. For example, a value of7does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.A scanned AMI that has no
mediumseverity finding with a fix available meets this limit. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Parameters:
maxDaysSinceMediumFixAvailable- The maximum number of days since Amazon Inspector reported a fix as available for amediumseverity finding on the AMI. For example, a value of7does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.A scanned AMI that has no
mediumseverity finding with a fix available meets this limit. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxDaysSinceHighFixAvailable
ScanResultConditionRequest.Builder maxDaysSinceHighFixAvailable(Integer maxDaysSinceHighFixAvailable) The maximum number of days since Amazon Inspector reported a fix as available for a
highseverity finding on the AMI. For example, a value of7does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.A scanned AMI that has no
highseverity finding with a fix available meets this limit. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Parameters:
maxDaysSinceHighFixAvailable- The maximum number of days since Amazon Inspector reported a fix as available for ahighseverity finding on the AMI. For example, a value of7does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.A scanned AMI that has no
highseverity finding with a fix available meets this limit. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxDaysSinceCriticalFixAvailable
ScanResultConditionRequest.Builder maxDaysSinceCriticalFixAvailable(Integer maxDaysSinceCriticalFixAvailable) The maximum number of days since Amazon Inspector reported a fix as available for a
criticalseverity finding on the AMI. For example, a value of7does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.A scanned AMI that has no
criticalseverity finding with a fix available meets this limit. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Parameters:
maxDaysSinceCriticalFixAvailable- The maximum number of days since Amazon Inspector reported a fix as available for acriticalseverity finding on the AMI. For example, a value of7does not allow an AMI if Amazon Inspector reported such a fix more than 7 days ago.A scanned AMI that has no
criticalseverity finding with a fix available meets this limit. AMIs that Amazon Inspector has not scanned are not allowed.Constraints: Minimum value of 0. Maximum value of 2147483647.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-