|
5 | 5 | "endpointPrefix":"inspector2",
|
6 | 6 | "jsonVersion":"1.1",
|
7 | 7 | "protocol":"rest-json",
|
| 8 | + "protocols":["rest-json"], |
8 | 9 | "serviceAbbreviation":"Inspector2",
|
9 | 10 | "serviceFullName":"Inspector2",
|
10 | 11 | "serviceId":"Inspector2",
|
|
3029 | 3030 | "shape":"CoverageStringFilterList",
|
3030 | 3031 | "documentation":"<p>An array of Amazon Web Services resource types to return coverage statistics for. The values can be <code>AWS_EC2_INSTANCE</code>, <code>AWS_LAMBDA_FUNCTION</code>, <code>AWS_ECR_CONTAINER_IMAGE</code>, <code>AWS_ECR_REPOSITORY</code> or <code>AWS_ACCOUNT</code>.</p>"
|
3031 | 3032 | },
|
| 3033 | + "scanMode":{ |
| 3034 | + "shape":"CoverageStringFilterList", |
| 3035 | + "documentation":"<p>The filter to search for Amazon EC2 instance coverage by scan mode. Valid values are <code>EC2_SSM_AGENT_BASED</code> and <code>EC2_HYBRID</code>.</p>" |
| 3036 | + }, |
3032 | 3037 | "scanStatusCode":{
|
3033 | 3038 | "shape":"CoverageStringFilterList",
|
3034 | 3039 | "documentation":"<p>The scan status code to filter on. Valid values are: <code>ValidationException</code>, <code>InternalServerException</code>, <code>ResourceNotFoundException</code>, <code>BadRequestException</code>, and <code>ThrottlingException</code>.</p>"
|
|
3150 | 3155 | "shape":"CoverageResourceType",
|
3151 | 3156 | "documentation":"<p>The type of the covered resource.</p>"
|
3152 | 3157 | },
|
| 3158 | + "scanMode":{ |
| 3159 | + "shape":"ScanMode", |
| 3160 | + "documentation":"<p>The scan method that is applied to the instance.</p>" |
| 3161 | + }, |
3153 | 3162 | "scanStatus":{
|
3154 | 3163 | "shape":"ScanStatus",
|
3155 | 3164 | "documentation":"<p>The status of the scan covering the resource.</p>"
|
|
3731 | 3740 | "type":"double",
|
3732 | 3741 | "box":true
|
3733 | 3742 | },
|
| 3743 | + "Ec2Configuration":{ |
| 3744 | + "type":"structure", |
| 3745 | + "required":["scanMode"], |
| 3746 | + "members":{ |
| 3747 | + "scanMode":{ |
| 3748 | + "shape":"Ec2ScanMode", |
| 3749 | + "documentation":"<p>The scan method that is applied to the instance.</p>" |
| 3750 | + } |
| 3751 | + }, |
| 3752 | + "documentation":"<p>Enables agent-based scanning, which scans instances that are not managed by SSM.</p>" |
| 3753 | + }, |
| 3754 | + "Ec2ConfigurationState":{ |
| 3755 | + "type":"structure", |
| 3756 | + "members":{ |
| 3757 | + "scanModeState":{ |
| 3758 | + "shape":"Ec2ScanModeState", |
| 3759 | + "documentation":"<p>An object that contains details about the state of the Amazon EC2 scan mode.</p>" |
| 3760 | + } |
| 3761 | + }, |
| 3762 | + "documentation":"<p>Details about the state of the EC2 scan configuration for your environment.</p>" |
| 3763 | + }, |
3734 | 3764 | "Ec2DeepInspectionStatus":{
|
3735 | 3765 | "type":"string",
|
3736 | 3766 | "enum":[
|
|
3841 | 3871 | "MACOS"
|
3842 | 3872 | ]
|
3843 | 3873 | },
|
| 3874 | + "Ec2ScanMode":{ |
| 3875 | + "type":"string", |
| 3876 | + "enum":[ |
| 3877 | + "EC2_SSM_AGENT_BASED", |
| 3878 | + "EC2_HYBRID" |
| 3879 | + ] |
| 3880 | + }, |
| 3881 | + "Ec2ScanModeState":{ |
| 3882 | + "type":"structure", |
| 3883 | + "members":{ |
| 3884 | + "scanMode":{ |
| 3885 | + "shape":"Ec2ScanMode", |
| 3886 | + "documentation":"<p>The scan method that is applied to the instance.</p>" |
| 3887 | + }, |
| 3888 | + "scanModeStatus":{ |
| 3889 | + "shape":"Ec2ScanModeStatus", |
| 3890 | + "documentation":"<p>The status of the Amazon EC2 scan mode setting.</p>" |
| 3891 | + } |
| 3892 | + }, |
| 3893 | + "documentation":"<p>The state of your Amazon EC2 scan mode configuration.</p>" |
| 3894 | + }, |
| 3895 | + "Ec2ScanModeStatus":{ |
| 3896 | + "type":"string", |
| 3897 | + "enum":[ |
| 3898 | + "SUCCESS", |
| 3899 | + "PENDING" |
| 3900 | + ] |
| 3901 | + }, |
3844 | 3902 | "EcrConfiguration":{
|
3845 | 3903 | "type":"structure",
|
3846 | 3904 | "required":["rescanDuration"],
|
|
4533 | 4591 | },
|
4534 | 4592 | "lastObservedAt":{
|
4535 | 4593 | "shape":"DateTimeTimestamp",
|
4536 |
| - "documentation":"<p>The date and time that the finding was last observed.</p>" |
| 4594 | + "documentation":"<p> The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated. </p>" |
4537 | 4595 | },
|
4538 | 4596 | "networkReachabilityDetails":{
|
4539 | 4597 | "shape":"NetworkReachabilityDetails",
|
|
4883 | 4941 | },
|
4884 | 4942 | "url":{
|
4885 | 4943 | "shape":"String",
|
4886 |
| - "documentation":"<p> The URL where the CIS scan report PDF can be downloaded. </p>" |
| 4944 | + "documentation":"<p> The URL where a PDF of the CIS scan report can be downloaded. </p>" |
4887 | 4945 | }
|
4888 | 4946 | }
|
4889 | 4947 | },
|
|
4956 | 5014 | "GetConfigurationResponse":{
|
4957 | 5015 | "type":"structure",
|
4958 | 5016 | "members":{
|
| 5017 | + "ec2Configuration":{ |
| 5018 | + "shape":"Ec2ConfigurationState", |
| 5019 | + "documentation":"<p>Specifies how the Amazon EC2 automated scan mode is currently configured for your environment.</p>" |
| 5020 | + }, |
4959 | 5021 | "ecrConfiguration":{
|
4960 | 5022 | "shape":"EcrConfigurationState",
|
4961 | 5023 | "documentation":"<p>Specifies how the ECR automated re-scan duration is currently configured for your environment.</p>"
|
|
7098 | 7160 | "SPDX_2_3"
|
7099 | 7161 | ]
|
7100 | 7162 | },
|
| 7163 | + "ScanMode":{ |
| 7164 | + "type":"string", |
| 7165 | + "enum":[ |
| 7166 | + "EC2_SSM_AGENT_BASED", |
| 7167 | + "EC2_AGENTLESS" |
| 7168 | + ] |
| 7169 | + }, |
7101 | 7170 | "ScanStatus":{
|
7102 | 7171 | "type":"structure",
|
7103 | 7172 | "required":[
|
|
8026 | 8095 | },
|
8027 | 8096 | "UpdateConfigurationRequest":{
|
8028 | 8097 | "type":"structure",
|
8029 |
| - "required":["ecrConfiguration"], |
8030 | 8098 | "members":{
|
| 8099 | + "ec2Configuration":{ |
| 8100 | + "shape":"Ec2Configuration", |
| 8101 | + "documentation":"<p>Specifies how the Amazon EC2 automated scan will be updated for your environment.</p>" |
| 8102 | + }, |
8031 | 8103 | "ecrConfiguration":{
|
8032 | 8104 | "shape":"EcrConfiguration",
|
8033 | 8105 | "documentation":"<p>Specifies how the ECR automated re-scan will be updated for your environment.</p>"
|
|
0 commit comments