Module Values.AnalyzedResourceSource

Contains details about the analyzed resource.

Sourcetype nonrec t = {
  1. resourceArn : ResourceArn.t option;
    (*

    The ARN of the resource that was analyzed.

    *)
  2. resourceType : ResourceType.t option;
    (*

    The type of the resource that was analyzed.

    *)
  3. createdAt : Timestamp.t option;
    (*

    The time at which the finding was created.

    *)
  4. analyzedAt : Timestamp.t option;
    (*

    The time at which the resource was analyzed.

    *)
  5. updatedAt : Timestamp.t option;
    (*

    The time at which the finding was updated.

    *)
  6. isPublic : Boolean.t option;
    (*

    Indicates whether the policy that generated the finding grants public access to the resource.

    *)
  7. actions : ActionList.t option;
    (*

    The actions that an external principal is granted permission to use by the policy that generated the finding.

    *)
  8. sharedVia : SharedViaList.t option;
    (*

    Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.

    *)
  9. status : FindingStatus.t option;
    (*

    The current status of the finding generated from the analyzed resource.

    *)
  10. resourceOwnerAccount : String_.t option;
    (*

    The Amazon Web Services account ID that owns the resource.

    *)
  11. error : String_.t option;
    (*

    An error message.

    *)
}
Sourceval make : ?resourceArn:??? -> ?resourceType:??? -> ?createdAt:??? -> ?analyzedAt:??? -> ?updatedAt:??? -> ?isPublic:??? -> ?actions:??? -> ?sharedVia:??? -> ?status:??? -> ?resourceOwnerAccount:??? -> ?error:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `String of String_.t ] list | `String of ResourceArn.t | `Timestamp of Timestamp.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