Module Values.ResourceSource

A resource related to a finding.

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

    The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance. If the resource does not match any of the provided types, then set Type to Other. Length Constraints: Minimum length of 1. Maximum length of 256.

    *)
  2. id : NonEmptyString.t;
    (*

    The canonical identifier for the given resource type.

    *)
  3. partition : Partition.t option;
    (*

    The canonical Amazon Web Services partition name that the Region is assigned to.

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

    The canonical Amazon Web Services external Region name where this resource is located. Length Constraints: Minimum length of 1. Maximum length of 16.

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

    Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,

    *)
  6. tags : FieldMap.t option;
    (*

    A list of Amazon Web Services tags associated with a resource at the time the finding was processed. Tags must follow Amazon Web Services tag naming limits and requirements.

    *)
  7. dataClassification : DataClassificationDetails.t option;
    (*

    Contains information about sensitive data that was detected on the resource.

    *)
  8. details : ResourceDetails.t option;
    (*

    Additional details about the resource related to a finding.

    *)
  9. applicationName : NonEmptyString.t option;
    (*

    The name of the application that is related to a finding.

    *)
  10. applicationArn : NonEmptyString.t option;
    (*

    The Amazon Resource Name (ARN) of the application that is related to a finding.

    *)
}
Sourceval context_ : string
Sourceval make : ?partition:??? -> ?region:??? -> ?resourceRole:??? -> ?tags:??? -> ?dataClassification:??? -> ?details:??? -> ?applicationName:??? -> ?applicationArn:??? -> type_:NonEmptyString.t -> id:NonEmptyString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of NonEmptyString.t ] * [> `String of NonEmptyString.t ]) list | `String of NonEmptyString.t | `Structure of (string * [> `Map of ([> `String of NonEmptyString.t ] * [> `String of NonEmptyString.t ]) list | `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Enum of string | `Integer of Integer.t | `List of [> `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Integer of Integer.t | `List of [> `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `Long of Long.t | `String of NonEmptyString.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Long of Long.t | `String of NonEmptyString.t | `Structure of (string * [> `Long of Long.t ]) list ]) list ] list ]) list ]) list ] list | `Long of Long.t | `Map of ([> `String of NonEmptyString.t ] * [> `String of NonEmptyString.t ]) list | `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `List of [> `String of NonEmptyString.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `String of NonEmptyString.t ] list | `String of NonEmptyString.t ]) list ] list | `Long of Long.t | `Map of ([> `String of NonEmptyString.t ] * [> `String of NonEmptyString.t ]) list | `String of NonEmptyString.t | `Structure of (string * [> `List of [> `String of NonEmptyString.t ] list | `String of NonEmptyString.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `String of NonEmptyString.t ]) list ] list | `String of NonEmptyString.t ]) list ]) list ]) list ]) list ] list | `Long of Long.t | `Map of ([> `String of NonEmptyString.t ] * [> `String of NonEmptyString.t ]) list | `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Integer of Integer.t | `List of [> `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `List of [> `Integer of Integer.t | `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `String of NonEmptyString.t | `Structure of (string * [> `Long of Long.t ]) list ]) list ] list | `Long of Long.t | `Map of ([> `String of NonEmptyString.t ] * [> `String of NonEmptyString.t ]) list | `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `List of [> `Structure of (string * [> `Long of Long.t | `String of NonEmptyString.t | `Structure of (string * [> `Long of Long.t ]) list ]) list ] list | `Long of Long.t | `String of NonEmptyString.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `Integer of Integer.t | `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `String of NonEmptyString.t | `Structure of (string * [> `String of NonEmptyString.t ]) list ]) list ] list | `String of NonEmptyString.t | `Structure of (string * [> `String of NonEmptyString.t ]) list ]) list ]) list ]) list ] list | `Long of Long.t | `Map of ([> `String of NonEmptyString.t ] * [> `String of NonEmptyString.t ]) list | `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `List of [> `String of NonEmptyString.t | `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of NonEmptyString.t ] list | `String of NonEmptyString.t ]) list ] list | `String of NonEmptyString.t | `Structure of (string * [> `String of NonEmptyString.t ]) list ]) list ] list | `Long of Long.t | `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Integer of Integer.t | `List of [> `String of NonEmptyString.t | `Structure of (string * [> `Integer of Integer.t | `String of NonEmptyString.t | `Structure of (string * [> `List of [> `String of NonEmptyString.t ] list | `Structure of (string * [> `List of [> `Integer of Integer.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `String of NonEmptyString.t ] list | `String of NonEmptyString.t ]) list ] list ]) list ]) list ]) list ] list | `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `String of NonEmptyString.t ]) list ]) list ]) list ]) list ]) list ]) list ]) 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