Class DescribeHubResponse

    • Method Detail

      • hubArn

        public final String hubArn()

        The ARN of the Hub resource that was retrieved.

        Returns:
        The ARN of the Hub resource that was retrieved.
      • subscribedAt

        public final String subscribedAt()

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

        Returns:
        The date and time when Security Hub was enabled in the account.
      • autoEnableControls

        public final Boolean autoEnableControls()

        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.

        Returns:
        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.

      • controlFindingGenerator

        public final ControlFindingGenerator controlFindingGenerator()

        Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub 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 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 on or after February 23, 2023.

        If the service returns an enum value that is not available in the current SDK version, controlFindingGenerator will return ControlFindingGenerator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from controlFindingGeneratorAsString().

        Returns:
        Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub 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 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 on or after February 23, 2023.

        See Also:
        ControlFindingGenerator
      • controlFindingGeneratorAsString

        public final String controlFindingGeneratorAsString()

        Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub 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 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 on or after February 23, 2023.

        If the service returns an enum value that is not available in the current SDK version, controlFindingGenerator will return ControlFindingGenerator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from controlFindingGeneratorAsString().

        Returns:
        Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub 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 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 on or after February 23, 2023.

        See Also:
        ControlFindingGenerator
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object