libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.DescribeStandardsControls

Description

Returns a list of security standards controls.

For each control, the results include information about whether it is currently enabled, the severity, and a link to remediation information.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeStandardsControls Source #

See: newDescribeStandardsControls smart constructor.

Constructors

DescribeStandardsControls' 

Fields

  • nextToken :: Maybe Text

    The token that is required for pagination. On your first call to the DescribeStandardsControls operation, set the value of this parameter to NULL.

    For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

  • maxResults :: Maybe Natural

    The maximum number of security standard controls to return.

  • standardsSubscriptionArn :: Text

    The ARN of a resource that represents your subscription to a supported standard. To get the subscription ARNs of the standards you have enabled, use the GetEnabledStandards operation.

Instances

Instances details
Eq DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

Read DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

Show DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

Generic DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

Associated Types

type Rep DescribeStandardsControls :: Type -> Type #

NFData DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

Hashable DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

AWSPager DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

AWSRequest DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

ToHeaders DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

ToPath DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

ToQuery DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

type Rep DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

type Rep DescribeStandardsControls = D1 ('MetaData "DescribeStandardsControls" "Amazonka.SecurityHub.DescribeStandardsControls" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DescribeStandardsControls'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "standardsSubscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DescribeStandardsControls Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

newDescribeStandardsControls Source #

Create a value of DescribeStandardsControls with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:DescribeStandardsControls', describeStandardsControls_nextToken - The token that is required for pagination. On your first call to the DescribeStandardsControls operation, set the value of this parameter to NULL.

For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

$sel:maxResults:DescribeStandardsControls', describeStandardsControls_maxResults - The maximum number of security standard controls to return.

$sel:standardsSubscriptionArn:DescribeStandardsControls', describeStandardsControls_standardsSubscriptionArn - The ARN of a resource that represents your subscription to a supported standard. To get the subscription ARNs of the standards you have enabled, use the GetEnabledStandards operation.

Request Lenses

describeStandardsControls_nextToken :: Lens' DescribeStandardsControls (Maybe Text) Source #

The token that is required for pagination. On your first call to the DescribeStandardsControls operation, set the value of this parameter to NULL.

For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

describeStandardsControls_maxResults :: Lens' DescribeStandardsControls (Maybe Natural) Source #

The maximum number of security standard controls to return.

describeStandardsControls_standardsSubscriptionArn :: Lens' DescribeStandardsControls Text Source #

The ARN of a resource that represents your subscription to a supported standard. To get the subscription ARNs of the standards you have enabled, use the GetEnabledStandards operation.

Destructuring the Response

data DescribeStandardsControlsResponse Source #

See: newDescribeStandardsControlsResponse smart constructor.

Constructors

DescribeStandardsControlsResponse' 

Fields

Instances

Instances details
Eq DescribeStandardsControlsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

Read DescribeStandardsControlsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

Show DescribeStandardsControlsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

Generic DescribeStandardsControlsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

Associated Types

type Rep DescribeStandardsControlsResponse :: Type -> Type #

NFData DescribeStandardsControlsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

type Rep DescribeStandardsControlsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandardsControls

type Rep DescribeStandardsControlsResponse = D1 ('MetaData "DescribeStandardsControlsResponse" "Amazonka.SecurityHub.DescribeStandardsControls" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DescribeStandardsControlsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "controls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StandardsControl])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeStandardsControlsResponse Source #

Create a value of DescribeStandardsControlsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:controls:DescribeStandardsControlsResponse', describeStandardsControlsResponse_controls - A list of security standards controls.

$sel:nextToken:DescribeStandardsControls', describeStandardsControlsResponse_nextToken - The pagination token to use to request the next page of results.

$sel:httpStatus:DescribeStandardsControlsResponse', describeStandardsControlsResponse_httpStatus - The response's http status code.

Response Lenses

describeStandardsControlsResponse_nextToken :: Lens' DescribeStandardsControlsResponse (Maybe Text) Source #

The pagination token to use to request the next page of results.