Module Values.BatchImportFindingsResponseSource

Imports security findings generated by a finding provider into Security Hub CSPM. This action is requested by the finding provider to import its findings into Security Hub CSPM. BatchImportFindings must be called by one of the following: The Amazon Web Services account that is associated with a finding if you are using the default product ARN or are a partner sending findings from within a customer's Amazon Web Services account. In these cases, the identifier of the account that you are calling BatchImportFindings from needs to be the same as the AwsAccountId attribute for the finding. An Amazon Web Services account that Security Hub CSPM has allow-listed for an official partner integration. In this case, you can call BatchImportFindings from the allow-listed account and send findings from different customer accounts in the same batch. The maximum allowed size for a finding is 240 Kb. An error is returned for any finding larger than 240 Kb. After a finding is created, BatchImportFindings cannot be used to update the following finding fields and objects, which Security Hub CSPM customers use to manage their investigation workflow. Note UserDefinedFields VerificationState Workflow Finding providers also should not use BatchImportFindings to update the following attributes. Confidence Criticality RelatedFindings Severity Types Instead, finding providers use FindingProviderFields to provide values for these attributes.

Sourcetype nonrec t = {
  1. failedCount : Integer.t option;
    (*

    The number of findings that failed to import.

    *)
  2. successCount : Integer.t option;
    (*

    The number of findings that were successfully imported.

    *)
  3. failedFindings : ImportFindingsErrorList.t option;
    (*

    The list of findings that failed to import.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalException of InternalException.t
  2. | `InvalidAccessException of InvalidAccessException.t
  3. | `InvalidInputException of InvalidInputException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?failedCount:??? -> ?successCount:??? -> ?failedFindings:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalException of InternalException.t | `InvalidAccessException of InvalidAccessException.t | `InvalidInputException of InvalidInputException.t | `LimitExceededException of LimitExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalException of InternalException.t | `InvalidAccessException of InvalidAccessException.t | `InvalidInputException of InvalidInputException.t | `LimitExceededException of LimitExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `String of NonEmptyString.t ]) list ] list ]) 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