Module Values.DescribeHubResponseSource

Returns details about the Hub resource in your account, including the HubArn and the time when you enabled Security Hub CSPM.

Sourcetype nonrec t = {
  1. hubArn : NonEmptyString.t option;
    (*

    The ARN of the Hub resource that was retrieved.

    *)
  2. subscribedAt : NonEmptyString.t option;
    (*

    The date and time when Security Hub CSPM was enabled in the account.

    *)
  3. autoEnableControls : Boolean.t option;
    (*

    Whether to automatically enable new controls when they are added to standards that are enabled. If set to true, then new controls for enabled standards are enabled automatically. If set to false, then new controls are not enabled. When you automatically enable new controls, you can interact with the controls in the console and programmatically immediately after release. However, automatically enabled controls have a temporary default status of DISABLED. It can take up to several days for Security Hub CSPM to process the control release and designate the control as ENABLED in your account. During the processing period, you can manually enable or disable a control, and Security Hub CSPM will maintain that designation regardless of whether you have AutoEnableControls set to true.

    *)
  4. controlFindingGenerator : ControlFindingGenerator.t option;
    (*

    Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub CSPM generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to STANDARD_CONTROL, Security Hub CSPM generates separate findings for a control check when the check applies to multiple enabled standards. The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL if you enabled Security Hub CSPM on or after February 23, 2023.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalException of InternalException.t
  2. | `InvalidAccessException of InvalidAccessException.t
  3. | `InvalidInputException of InvalidInputException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?hubArn:??? -> ?subscribedAt:??? -> ?autoEnableControls:??? -> ?controlFindingGenerator:??? -> 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 | `ResourceNotFoundException of ResourceNotFoundException.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 | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of NonEmptyString.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