Module Values.FindingSource

Provides the details of a finding.

Sourcetype nonrec t = {
  1. accountId : string option;
    (*

    The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource.

    *)
  2. archived : bool option;
    (*

    Specifies whether the finding is archived (suppressed).

    *)
  3. category : FindingCategory.t option;
    (*

    The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.

    *)
  4. classificationDetails : ClassificationDetails.t option;
    (*

    The details of a sensitive data finding. This value is null for a policy finding.

    *)
  5. count : Awso.Import.Int64.t option;
    (*

    The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered unique.

    *)
  6. createdAt : string option;
    (*

    The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.

    *)
  7. description : string option;
    (*

    The description of the finding.

    *)
  8. id : string option;
    (*

    The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.

    *)
  9. partition : string option;
    (*

    The Amazon Web Services partition that Amazon Macie created the finding in.

    *)
  10. policyDetails : PolicyDetails.t option;
    (*

    The details of a policy finding. This value is null for a sensitive data finding.

    *)
  11. region : string option;
    (*

    The Amazon Web Services Region that Amazon Macie created the finding in.

    *)
  12. resourcesAffected : ResourcesAffected.t option;
    (*

    The resources that the finding applies to.

    *)
  13. sample : bool option;
    (*

    Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.

    *)
  14. schemaVersion : string option;
    (*

    The version of the schema that was used to define the data structures in the finding.

    *)
  15. severity : Severity.t option;
    (*

    The severity level and score for the finding.

    *)
  16. title : string option;
    (*

    The brief description of the finding.

    *)
  17. type_ : FindingType.t option;
    (*

    The type of the finding.

    *)
  18. updatedAt : string option;
    (*

    The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last updated the finding. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new.

    *)
}
Sourceval make : ?accountId:??? -> ?archived:??? -> ?category:??? -> ?classificationDetails:??? -> ?count:??? -> ?createdAt:??? -> ?description:??? -> ?id:??? -> ?partition:??? -> ?policyDetails:??? -> ?region:??? -> ?resourcesAffected:??? -> ?sample:??? -> ?schemaVersion:??? -> ?severity:??? -> ?title:??? -> ?type_:??? -> ?updatedAt:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of bool | `Enum of string | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Enum of string | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `List of [> `Structure of (string * [> `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Long of Awso.Import.Int64.t ]) list ]) list ] list ]) list ]) list ] list | `Long of Awso.Import.Int64.t | `String of string ]) list ] list | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `List of [> `Structure of (string * [> `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Long of Awso.Import.Int64.t ]) list ]) list ] list ]) list ]) list ] list | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Double of float | `String of string | `Structure of (string * [> `Structure of (string * [> `Boolean of bool | `String of string | `Timestamp of string ]) list ]) list ]) list | `Timestamp of string ]) list | `Timestamp of string ]) list ]) list | `Timestamp of string ]) 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