Module Values.ImageScanFindingSource

Contains details about a vulnerability scan finding.

Sourcetype nonrec t = {
  1. awsAccountId : NonEmptyString.t option;
    (*

    The Amazon Web Services account ID that's associated with the finding.

    *)
  2. imageBuildVersionArn : ImageBuildVersionArn.t option;
    (*

    The Amazon Resource Name (ARN) of the image build version that's associated with the finding.

    *)
  3. imagePipelineArn : ImagePipelineArn.t option;
    (*

    The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.

    *)
  4. type_ : NonEmptyString.t option;
    (*

    The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY that apply to output images, and excludes other types.

    *)
  5. description : NonEmptyString.t option;
    (*

    The description of the finding.

    *)
  6. title : NonEmptyString.t option;
    (*

    The title of the finding.

    *)
  7. remediation : Remediation.t option;
    (*

    An object that contains the details about how to remediate the finding.

    *)
  8. severity : NonEmptyString.t option;
    (*

    The severity of the finding.

    *)
  9. firstObservedAt : DateTimeTimestamp.t option;
    (*

    The date and time when the finding was first observed.

    *)
  10. updatedAt : DateTimeTimestamp.t option;
    (*

    The timestamp when the finding was last updated.

    *)
  11. inspectorScore : NonNegativeDouble.t option;
    (*

    The score that Amazon Inspector assigned for the finding.

    *)
  12. inspectorScoreDetails : InspectorScoreDetails.t option;
    (*

    An object that contains details of the Amazon Inspector score.

    *)
  13. packageVulnerabilityDetails : PackageVulnerabilityDetails.t option;
    (*

    An object that contains the details of a package vulnerability finding.

    *)
  14. fixAvailable : NonEmptyString.t option;
    (*

    Details about whether a fix is available for any of the packages that are identified in the finding through a version update.

    *)
}
Sourceval make : ?awsAccountId:NonEmptyString.t -> ?imageBuildVersionArn:ImageBuildVersionArn.t -> ?imagePipelineArn:ImagePipelineArn.t -> ?type_:NonEmptyString.t -> ?description:NonEmptyString.t -> ?title:NonEmptyString.t -> ?remediation:Remediation.t -> ?severity:NonEmptyString.t -> ?firstObservedAt:DateTimeTimestamp.t -> ?updatedAt:DateTimeTimestamp.t -> ?inspectorScore:NonNegativeDouble.t -> ?inspectorScoreDetails:InspectorScoreDetails.t -> ?packageVulnerabilityDetails:PackageVulnerabilityDetails.t -> ?fixAvailable:NonEmptyString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of NonNegativeDouble.t | `String of NonEmptyString.t | `Structure of (string * [> `List of [> `String of VulnerabilityId.t | `Structure of (string * [> `Double of NonNegativeDouble.t | `Integer of PackageEpoch.t | `String of NonEmptyString.t ]) list ] list | `String of VulnerabilityId.t | `Structure of (string * [> `Double of NonNegativeDouble.t | `List of [> `Structure of (string * [> `String of NonEmptyString.t ]) list ] list | `String of NonEmptyString.t ]) list | `Timestamp of DateTimeTimestamp.t ]) list | `Timestamp of DateTimeTimestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t