Values.FindingSourceContains information about a finding.
type nonrec t = {id : FindingId.t option;The ID of the finding.
*)principal : PrincipalMap.t option;The external principal that has access to a resource within the zone of trust.
*)action : ActionList.t option;The action in the analyzed policy statement that an external principal has permission to use.
*)resource : String_.t option;The resource that an external principal has access to.
*)isPublic : Boolean.t option;Indicates whether the policy that generated the finding allows public access to the resource.
*)resourceType : ResourceType.t option;The type of the resource identified in the finding.
*)condition : ConditionKeyMap.t option;The condition in the analyzed policy statement that resulted in a finding.
*)createdAt : Timestamp.t option;The time at which the finding was generated.
*)analyzedAt : Timestamp.t option;The time at which the resource was analyzed.
*)updatedAt : Timestamp.t option;The time at which the finding was updated.
*)status : FindingStatus.t option;The current status of the finding.
*)resourceOwnerAccount : String_.t option;The Amazon Web Services account ID that owns the resource.
*)error : String_.t option;An error.
*)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.
*)resourceControlPolicyRestriction : ResourceControlPolicyRestriction.t option;The type of restriction applied to the finding by the resource owner with an Organizations resource control policy (RCP).
*)}val make :
?id:??? ->
?principal:??? ->
?action:??? ->
?resource:??? ->
?isPublic:??? ->
?resourceType:??? ->
?condition:??? ->
?createdAt:??? ->
?analyzedAt:??? ->
?updatedAt:??? ->
?status:??? ->
?resourceOwnerAccount:??? ->
?error:??? ->
?sources:??? ->
?resourceControlPolicyRestriction:??? ->
unit ->
tval 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 ]