Module Values.FindingSummarySource

Contains information about a finding.

Sourcetype nonrec t = {
  1. id : FindingId.t option;
    (*

    The ID of the finding.

    *)
  2. principal : PrincipalMap.t option;
    (*

    The external principal that has access to a resource within the zone of trust.

    *)
  3. action : ActionList.t option;
    (*

    The action in the analyzed policy statement that an external principal has permission to use.

    *)
  4. resource : String_.t option;
    (*

    The resource that the external principal has access to.

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

    Indicates whether the finding reports a resource that has a policy that allows public access.

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

    The type of the resource that the external principal has access to.

    *)
  7. condition : ConditionKeyMap.t option;
    (*

    The condition in the analyzed policy statement that resulted in a finding.

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

    The time at which the finding was created.

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

    The time at which the resource-based policy that generated the finding was analyzed.

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

    The time at which the finding was most recently updated.

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

    The status of the finding.

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

    The Amazon Web Services account ID that owns the resource.

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

    The error that resulted in an Error finding.

    *)
  14. sources : FindingSourceList.t option;
    (*

    The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.

    *)
  15. resourceControlPolicyRestriction : ResourceControlPolicyRestriction.t option;
    (*

    The type of restriction applied to the finding by the resource owner with an Organizations resource control policy (RCP).

    *)
}
Sourceval make : ?id:??? -> ?principal:??? -> ?action:??? -> ?resource:??? -> ?isPublic:??? -> ?resourceType:??? -> ?condition:??? -> ?createdAt:??? -> ?analyzedAt:??? -> ?updatedAt:??? -> ?status:??? -> ?resourceOwnerAccount:??? -> ?error:??? -> ?sources:??? -> ?resourceControlPolicyRestriction:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `String of String_.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of String_.t ]) list ]) list ] list | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of FindingId.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