Interface ScanResults.Builder

  • Method Details

    • highestFindingSeverityLabel

      ScanResults.Builder highestFindingSeverityLabel(String highestFindingSeverityLabel)

      The highest severity among the AMI's Amazon Inspector findings, whether or not a fix is available.

      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.

      This value is present only if the AMI has at least one finding.

      Parameters:
      highestFindingSeverityLabel - The highest severity among the AMI's Amazon Inspector findings, whether or not a fix is available.

      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.

      This value is present only if the AMI has at least one finding.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • highestFindingSeverityLabel

      ScanResults.Builder highestFindingSeverityLabel(SeverityLabel highestFindingSeverityLabel)

      The highest severity among the AMI's Amazon Inspector findings, whether or not a fix is available.

      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.

      This value is present only if the AMI has at least one finding.

      Parameters:
      highestFindingSeverityLabel - The highest severity among the AMI's Amazon Inspector findings, whether or not a fix is available.

      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.

      This value is present only if the AMI has at least one finding.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • findingScanDate

      ScanResults.Builder findingScanDate(Instant findingScanDate)

      The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), of the most recent Amazon Inspector scan of the AMI.

      Parameters:
      findingScanDate - The date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), of the most recent Amazon Inspector scan of the AMI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • informationalFixAvailableSince

      ScanResults.Builder informationalFixAvailableSince(Instant informationalFixAvailableSince)

      The earliest date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as available for an informational severity finding on the AMI. This value is present only if the AMI has at least one informational severity finding with a fix available. Amazon Inspector recomputes this value on each scan.

      Parameters:
      informationalFixAvailableSince - The earliest date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as available for an informational severity finding on the AMI. This value is present only if the AMI has at least one informational severity finding with a fix available. Amazon Inspector recomputes this value on each scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lowFixAvailableSince

      ScanResults.Builder lowFixAvailableSince(Instant lowFixAvailableSince)

      The earliest date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as available for a low severity finding on the AMI. This value is present only if the AMI has at least one low severity finding with a fix available. Amazon Inspector recomputes this value on each scan.

      Parameters:
      lowFixAvailableSince - The earliest date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as available for a low severity finding on the AMI. This value is present only if the AMI has at least one low severity finding with a fix available. Amazon Inspector recomputes this value on each scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mediumFixAvailableSince

      ScanResults.Builder mediumFixAvailableSince(Instant mediumFixAvailableSince)

      The earliest date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as available for a medium severity finding on the AMI. This value is present only if the AMI has at least one medium severity finding with a fix available. Amazon Inspector recomputes this value on each scan.

      Parameters:
      mediumFixAvailableSince - The earliest date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as available for a medium severity finding on the AMI. This value is present only if the AMI has at least one medium severity finding with a fix available. Amazon Inspector recomputes this value on each scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • highFixAvailableSince

      ScanResults.Builder highFixAvailableSince(Instant highFixAvailableSince)

      The earliest date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as available for a high severity finding on the AMI. This value is present only if the AMI has at least one high severity finding with a fix available. Amazon Inspector recomputes this value on each scan.

      Parameters:
      highFixAvailableSince - The earliest date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as available for a high severity finding on the AMI. This value is present only if the AMI has at least one high severity finding with a fix available. Amazon Inspector recomputes this value on each scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • criticalFixAvailableSince

      ScanResults.Builder criticalFixAvailableSince(Instant criticalFixAvailableSince)

      The earliest date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as available for a critical severity finding on the AMI. This value is present only if the AMI has at least one critical severity finding with a fix available. Amazon Inspector recomputes this value on each scan.

      Parameters:
      criticalFixAvailableSince - The earliest date and time, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as available for a critical severity finding on the AMI. This value is present only if the AMI has at least one critical severity finding with a fix available. Amazon Inspector recomputes this value on each scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.