/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains finding details that are specific to control-based findings. Only
* returned for findings generated from controls.See Also:
AWS
* API Reference
The result of a standards check.
The valid values for
* Status
are as follows.
* PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check
* is not supported for your configuration.
FAILED
* - Standards check failed for at least one evaluated resource.
* NOT_AVAILABLE
- Check could not be performed due to a service
* outage, API error, or because the result of the Config evaluation was
* NOT_APPLICABLE
. If the Config evaluation result was
* NOT_APPLICABLE
, then after 3 days, Security Hub automatically
* archives the finding.
The result of a standards check.
The valid values for
* Status
are as follows.
* PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check
* is not supported for your configuration.
FAILED
* - Standards check failed for at least one evaluated resource.
* NOT_AVAILABLE
- Check could not be performed due to a service
* outage, API error, or because the result of the Config evaluation was
* NOT_APPLICABLE
. If the Config evaluation result was
* NOT_APPLICABLE
, then after 3 days, Security Hub automatically
* archives the finding.
The result of a standards check.
The valid values for
* Status
are as follows.
* PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check
* is not supported for your configuration.
FAILED
* - Standards check failed for at least one evaluated resource.
* NOT_AVAILABLE
- Check could not be performed due to a service
* outage, API error, or because the result of the Config evaluation was
* NOT_APPLICABLE
. If the Config evaluation result was
* NOT_APPLICABLE
, then after 3 days, Security Hub automatically
* archives the finding.
The result of a standards check.
The valid values for
* Status
are as follows.
* PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check
* is not supported for your configuration.
FAILED
* - Standards check failed for at least one evaluated resource.
* NOT_AVAILABLE
- Check could not be performed due to a service
* outage, API error, or because the result of the Config evaluation was
* NOT_APPLICABLE
. If the Config evaluation result was
* NOT_APPLICABLE
, then after 3 days, Security Hub automatically
* archives the finding.
The result of a standards check.
The valid values for
* Status
are as follows.
* PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check
* is not supported for your configuration.
FAILED
* - Standards check failed for at least one evaluated resource.
* NOT_AVAILABLE
- Check could not be performed due to a service
* outage, API error, or because the result of the Config evaluation was
* NOT_APPLICABLE
. If the Config evaluation result was
* NOT_APPLICABLE
, then after 3 days, Security Hub automatically
* archives the finding.
The result of a standards check.
The valid values for
* Status
are as follows.
* PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check
* is not supported for your configuration.
FAILED
* - Standards check failed for at least one evaluated resource.
* NOT_AVAILABLE
- Check could not be performed due to a service
* outage, API error, or because the result of the Config evaluation was
* NOT_APPLICABLE
. If the Config evaluation result was
* NOT_APPLICABLE
, then after 3 days, Security Hub automatically
* archives the finding.
For a control, the industry or regulatory framework requirements that are * related to the control. The check for that control is aligned with these * requirements.
*/ inline const Aws::VectorFor a control, the industry or regulatory framework requirements that are * related to the control. The check for that control is aligned with these * requirements.
*/ inline bool RelatedRequirementsHasBeenSet() const { return m_relatedRequirementsHasBeenSet; } /** *For a control, the industry or regulatory framework requirements that are * related to the control. The check for that control is aligned with these * requirements.
*/ inline void SetRelatedRequirements(const Aws::VectorFor a control, the industry or regulatory framework requirements that are * related to the control. The check for that control is aligned with these * requirements.
*/ inline void SetRelatedRequirements(Aws::VectorFor a control, the industry or regulatory framework requirements that are * related to the control. The check for that control is aligned with these * requirements.
*/ inline Compliance& WithRelatedRequirements(const Aws::VectorFor a control, the industry or regulatory framework requirements that are * related to the control. The check for that control is aligned with these * requirements.
*/ inline Compliance& WithRelatedRequirements(Aws::VectorFor a control, the industry or regulatory framework requirements that are * related to the control. The check for that control is aligned with these * requirements.
*/ inline Compliance& AddRelatedRequirements(const Aws::String& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(value); return *this; } /** *For a control, the industry or regulatory framework requirements that are * related to the control. The check for that control is aligned with these * requirements.
*/ inline Compliance& AddRelatedRequirements(Aws::String&& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(std::move(value)); return *this; } /** *For a control, the industry or regulatory framework requirements that are * related to the control. The check for that control is aligned with these * requirements.
*/ inline Compliance& AddRelatedRequirements(const char* value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(value); return *this; } /** *For findings generated from controls, a list of reasons behind the value of
* Status
. For the list of status reason codes and their meanings, see
* Standards-related
* information in the ASFF in the Security Hub User Guide.
For findings generated from controls, a list of reasons behind the value of
* Status
. For the list of status reason codes and their meanings, see
* Standards-related
* information in the ASFF in the Security Hub User Guide.
For findings generated from controls, a list of reasons behind the value of
* Status
. For the list of status reason codes and their meanings, see
* Standards-related
* information in the ASFF in the Security Hub User Guide.
For findings generated from controls, a list of reasons behind the value of
* Status
. For the list of status reason codes and their meanings, see
* Standards-related
* information in the ASFF in the Security Hub User Guide.
For findings generated from controls, a list of reasons behind the value of
* Status
. For the list of status reason codes and their meanings, see
* Standards-related
* information in the ASFF in the Security Hub User Guide.
For findings generated from controls, a list of reasons behind the value of
* Status
. For the list of status reason codes and their meanings, see
* Standards-related
* information in the ASFF in the Security Hub User Guide.
For findings generated from controls, a list of reasons behind the value of
* Status
. For the list of status reason codes and their meanings, see
* Standards-related
* information in the ASFF in the Security Hub User Guide.
For findings generated from controls, a list of reasons behind the value of
* Status
. For the list of status reason codes and their meanings, see
* Standards-related
* information in the ASFF in the Security Hub User Guide.
The unique identifier of a control across standards. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. *
*/ inline const Aws::String& GetSecurityControlId() const{ return m_securityControlId; } /** *The unique identifier of a control across standards. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. *
*/ inline bool SecurityControlIdHasBeenSet() const { return m_securityControlIdHasBeenSet; } /** *The unique identifier of a control across standards. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. *
*/ inline void SetSecurityControlId(const Aws::String& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = value; } /** *The unique identifier of a control across standards. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. *
*/ inline void SetSecurityControlId(Aws::String&& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = std::move(value); } /** *The unique identifier of a control across standards. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. *
*/ inline void SetSecurityControlId(const char* value) { m_securityControlIdHasBeenSet = true; m_securityControlId.assign(value); } /** *The unique identifier of a control across standards. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. *
*/ inline Compliance& WithSecurityControlId(const Aws::String& value) { SetSecurityControlId(value); return *this;} /** *The unique identifier of a control across standards. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. *
*/ inline Compliance& WithSecurityControlId(Aws::String&& value) { SetSecurityControlId(std::move(value)); return *this;} /** *The unique identifier of a control across standards. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. *
*/ inline Compliance& WithSecurityControlId(const char* value) { SetSecurityControlId(value); return *this;} /** *The enabled security standards in which a security control is currently * enabled.
*/ inline const Aws::VectorThe enabled security standards in which a security control is currently * enabled.
*/ inline bool AssociatedStandardsHasBeenSet() const { return m_associatedStandardsHasBeenSet; } /** *The enabled security standards in which a security control is currently * enabled.
*/ inline void SetAssociatedStandards(const Aws::VectorThe enabled security standards in which a security control is currently * enabled.
*/ inline void SetAssociatedStandards(Aws::VectorThe enabled security standards in which a security control is currently * enabled.
*/ inline Compliance& WithAssociatedStandards(const Aws::VectorThe enabled security standards in which a security control is currently * enabled.
*/ inline Compliance& WithAssociatedStandards(Aws::VectorThe enabled security standards in which a security control is currently * enabled.
*/ inline Compliance& AddAssociatedStandards(const AssociatedStandard& value) { m_associatedStandardsHasBeenSet = true; m_associatedStandards.push_back(value); return *this; } /** *The enabled security standards in which a security control is currently * enabled.
*/ inline Compliance& AddAssociatedStandards(AssociatedStandard&& value) { m_associatedStandardsHasBeenSet = true; m_associatedStandards.push_back(std::move(value)); return *this; } private: ComplianceStatus m_status; bool m_statusHasBeenSet = false; Aws::Vector