Values.GetFindingStatisticsV2ResponseSourceReturns aggregated statistical data about findings. You can use the Scopes parameter to define the data boundary for the query. Currently, Scopes supports AwsOrganizations, which lets you aggregate findings from your entire organization or from specific organizational units. Only the delegated administrator account can use Scopes. GetFindingStatisticsV2 uses securityhub:GetAdhocInsightResults in the Action element of an IAM policy statement. You must have permission to perform the securityhub:GetAdhocInsightResults action.
type nonrec t = {groupByResults : GroupByResults.t option;Aggregated statistics about security findings based on specified grouping criteria.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `OrganizationNotFoundException of OrganizationNotFoundException.t| `OrganizationalUnitNotFoundException of OrganizationalUnitNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `OrganizationNotFoundException of OrganizationNotFoundException.t
| `OrganizationalUnitNotFoundException of
OrganizationalUnitNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `OrganizationNotFoundException of OrganizationNotFoundException.t
| `OrganizationalUnitNotFoundException of
OrganizationalUnitNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Integer of Integer.t
| `String of NonEmptyString.t ])
list ]
list
| `String of NonEmptyString.t ])
list ]
list ])
list ]