Module Values.FindingSource

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 an external principal has access to.

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

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

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

    The type of the resource identified in the finding.

    *)
  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 generated.

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

    The time at which the resource was analyzed.

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

    The time at which the finding was updated.

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

    The current status of the finding.

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

    The Amazon Web Services account ID that owns the resource.

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

    An error.

    *)
  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:FindingId.t -> ?principal:PrincipalMap.t -> ?action:ActionList.t -> ?resource:String_.t -> ?isPublic:Boolean.t -> ?resourceType:ResourceType.t -> ?condition:ConditionKeyMap.t -> ?createdAt:Timestamp.t -> ?analyzedAt:Timestamp.t -> ?updatedAt:Timestamp.t -> ?status:FindingStatus.t -> ?resourceOwnerAccount:String_.t -> ?error:String_.t -> ?sources:FindingSourceList.t -> ?resourceControlPolicyRestriction:ResourceControlPolicyRestriction.t -> 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