403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.7
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/bsd-crawler-parser/aws/dist/awscli/examples/ssm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/bsd-crawler-parser/aws/dist/awscli/examples/ssm/describe-instance-patch-states.rst
**To get the patch summary states for instances**

This ``describe-instance-patch-states`` example gets the patch summary states for an instance. ::

    aws ssm describe-instance-patch-states \
        --instance-ids "i-1234567890abcdef0"

Output::

    {
        "InstancePatchStates": [
            {
                "InstanceId": "i-1234567890abcdef0",
                "PatchGroup": "my-patch-group",
                "BaselineId": "pb-0713accee01234567",            
                "SnapshotId": "521c3536-930c-4aa9-950e-01234567abcd",
                "CriticalNonCompliantCount": 2,
                "SecurityNonCompliantCount": 2,
                "OtherNonCompliantCount": 1,
                "InstalledCount": 123,
                "InstalledOtherCount": 334,
                "InstalledPendingRebootCount": 0,
                "InstalledRejectedCount": 0,
                "MissingCount": 1,
                "FailedCount": 2,
                "UnreportedNotApplicableCount": 11,
                "NotApplicableCount": 2063,
                "OperationStartTime": "2021-05-03T11:00:56-07:00",
                "OperationEndTime": "2021-05-03T11:01:09-07:00",
                "Operation": "Scan",
                "LastNoRebootInstallOperationTime": "2020-06-14T12:17:41-07:00",
                "RebootOption": "RebootIfNeeded"
            }
        ]
    }

For more information, see `About Patch Compliance <https://docs.aws.amazon.com/systems-manager/latest/userguide/about-patch-compliance.html>`__ in the *AWS Systems Manager User Guide*.

Youez - 2016 - github.com/yon3zu
LinuXploit