{ "version": "2.0", "metadata": { "apiVersion": "2020-06-08", "endpointPrefix": "inspector2", "jsonVersion": "1.1", "protocol": "rest-json", "serviceAbbreviation": "Inspector2", "serviceFullName": "Inspector2", "serviceId": "Inspector2", "signatureVersion": "v4", "signingName": "inspector2", "uid": "inspector2-2020-06-08" }, "operations": { "AssociateMember": { "http": { "requestUri": "/members/associate", "responseCode": 200 }, "input": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {} } }, "output": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {} } } }, "BatchGetAccountStatus": { "http": { "requestUri": "/status/batch/get", "responseCode": 200 }, "input": { "type": "structure", "members": { "accountIds": { "shape": "S5" } } }, "output": { "type": "structure", "required": [ "accounts" ], "members": { "accounts": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "resourceState", "state" ], "members": { "accountId": {}, "resourceState": { "type": "structure", "required": [ "ec2", "ecr" ], "members": { "ec2": { "shape": "Sa" }, "ecr": { "shape": "Sa" }, "lambda": { "shape": "Sa" }, "lambdaCode": { "shape": "Sa" } } }, "state": { "shape": "Sa" } } } }, "failedAccounts": { "shape": "Se" } } } }, "BatchGetCodeSnippet": { "http": { "requestUri": "/codesnippet/batchget", "responseCode": 200 }, "input": { "type": "structure", "required": [ "findingArns" ], "members": { "findingArns": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "codeSnippetResults": { "type": "list", "member": { "type": "structure", "members": { "codeSnippet": { "type": "list", "member": { "type": "structure", "required": [ "content", "lineNumber" ], "members": { "content": {}, "lineNumber": { "type": "integer" } } } }, "endLine": { "type": "integer" }, "findingArn": {}, "startLine": { "type": "integer" }, "suggestedFixes": { "type": "list", "member": { "type": "structure", "members": { "code": {}, "description": {} } } } } } }, "errors": { "type": "list", "member": { "type": "structure", "required": [ "errorCode", "errorMessage", "findingArn" ], "members": { "errorCode": {}, "errorMessage": {}, "findingArn": {} } } } } } }, "BatchGetFindingDetails": { "http": { "requestUri": "/findings/details/batch/get", "responseCode": 200 }, "input": { "type": "structure", "required": [ "findingArns" ], "members": { "findingArns": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "errors": { "type": "list", "member": { "type": "structure", "required": [ "errorCode", "errorMessage", "findingArn" ], "members": { "errorCode": {}, "errorMessage": {}, "findingArn": {} } } }, "findingDetails": { "type": "list", "member": { "type": "structure", "members": { "cisaData": { "shape": "S16" }, "cwes": { "shape": "S1a" }, "epssScore": { "type": "double" }, "evidences": { "type": "list", "member": { "type": "structure", "members": { "evidenceDetail": {}, "evidenceRule": {}, "severity": {} } } }, "exploitObserved": { "shape": "S1i" }, "findingArn": {}, "referenceUrls": { "shape": "S1l" }, "riskScore": { "type": "integer" }, "tools": { "type": "list", "member": {} }, "ttps": { "shape": "S1q" } } } } } } }, "BatchGetFreeTrialInfo": { "http": { "requestUri": "/freetrialinfo/batchget", "responseCode": 200 }, "input": { "type": "structure", "required": [ "accountIds" ], "members": { "accountIds": { "type": "list", "member": {} } } }, "output": { "type": "structure", "required": [ "accounts", "failedAccounts" ], "members": { "accounts": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "freeTrialInfo" ], "members": { "accountId": {}, "freeTrialInfo": { "type": "list", "member": { "type": "structure", "required": [ "end", "start", "status", "type" ], "members": { "end": { "type": "timestamp" }, "start": { "type": "timestamp" }, "status": {}, "type": {} } } } } } }, "failedAccounts": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "code", "message" ], "members": { "accountId": {}, "code": {}, "message": {} } } } } } }, "BatchGetMemberEc2DeepInspectionStatus": { "http": { "requestUri": "/ec2deepinspectionstatus/member/batch/get", "responseCode": 200 }, "input": { "type": "structure", "members": { "accountIds": { "shape": "S5" } } }, "output": { "type": "structure", "members": { "accountIds": { "shape": "S29" }, "failedAccountIds": { "shape": "S2c" } } } }, "BatchUpdateMemberEc2DeepInspectionStatus": { "http": { "requestUri": "/ec2deepinspectionstatus/member/batch/update", "responseCode": 200 }, "input": { "type": "structure", "required": [ "accountIds" ], "members": { "accountIds": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "activateDeepInspection" ], "members": { "accountId": {}, "activateDeepInspection": { "type": "boolean" } } } } } }, "output": { "type": "structure", "members": { "accountIds": { "shape": "S29" }, "failedAccountIds": { "shape": "S2c" } } } }, "CancelFindingsReport": { "http": { "requestUri": "/reporting/cancel", "responseCode": 200 }, "input": { "type": "structure", "required": [ "reportId" ], "members": { "reportId": {} } }, "output": { "type": "structure", "required": [ "reportId" ], "members": { "reportId": {} } } }, "CancelSbomExport": { "http": { "requestUri": "/sbomexport/cancel", "responseCode": 200 }, "input": { "type": "structure", "required": [ "reportId" ], "members": { "reportId": {} } }, "output": { "type": "structure", "members": { "reportId": {} } }, "idempotent": true }, "CreateFilter": { "http": { "requestUri": "/filters/create", "responseCode": 200 }, "input": { "type": "structure", "required": [ "action", "filterCriteria", "name" ], "members": { "action": {}, "description": {}, "filterCriteria": { "shape": "S2r" }, "name": {}, "reason": {}, "tags": { "shape": "S3c" } } }, "output": { "type": "structure", "required": [ "arn" ], "members": { "arn": {} } } }, "CreateFindingsReport": { "http": { "requestUri": "/reporting/create", "responseCode": 200 }, "input": { "type": "structure", "required": [ "reportFormat", "s3Destination" ], "members": { "filterCriteria": { "shape": "S2r" }, "reportFormat": {}, "s3Destination": { "shape": "S3h" } } }, "output": { "type": "structure", "members": { "reportId": {} } } }, "CreateSbomExport": { "http": { "requestUri": "/sbomexport/create", "responseCode": 200 }, "input": { "type": "structure", "required": [ "reportFormat", "s3Destination" ], "members": { "reportFormat": {}, "resourceFilterCriteria": { "shape": "S3l" }, "s3Destination": { "shape": "S3h" } } }, "output": { "type": "structure", "members": { "reportId": {} } }, "idempotent": true }, "DeleteFilter": { "http": { "requestUri": "/filters/delete", "responseCode": 200 }, "input": { "type": "structure", "required": [ "arn" ], "members": { "arn": {} } }, "output": { "type": "structure", "required": [ "arn" ], "members": { "arn": {} } } }, "DescribeOrganizationConfiguration": { "http": { "requestUri": "/organizationconfiguration/describe", "responseCode": 200 }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "autoEnable": { "shape": "S3y" }, "maxAccountLimitReached": { "type": "boolean" } } } }, "Disable": { "http": { "requestUri": "/disable", "responseCode": 200 }, "input": { "type": "structure", "members": { "accountIds": { "shape": "S5" }, "resourceTypes": { "type": "list", "member": {} } } }, "output": { "type": "structure", "required": [ "accounts" ], "members": { "accounts": { "shape": "S43" }, "failedAccounts": { "shape": "Se" } } } }, "DisableDelegatedAdminAccount": { "http": { "requestUri": "/delegatedadminaccounts/disable", "responseCode": 200 }, "input": { "type": "structure", "required": [ "delegatedAdminAccountId" ], "members": { "delegatedAdminAccountId": {} } }, "output": { "type": "structure", "required": [ "delegatedAdminAccountId" ], "members": { "delegatedAdminAccountId": {} } } }, "DisassociateMember": { "http": { "requestUri": "/members/disassociate", "responseCode": 200 }, "input": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {} } }, "output": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {} } } }, "Enable": { "http": { "requestUri": "/enable", "responseCode": 200 }, "input": { "type": "structure", "required": [ "resourceTypes" ], "members": { "accountIds": { "shape": "S5" }, "clientToken": { "idempotencyToken": true }, "resourceTypes": { "type": "list", "member": {} } } }, "output": { "type": "structure", "required": [ "accounts" ], "members": { "accounts": { "shape": "S43" }, "failedAccounts": { "shape": "Se" } } } }, "EnableDelegatedAdminAccount": { "http": { "requestUri": "/delegatedadminaccounts/enable", "responseCode": 200 }, "input": { "type": "structure", "required": [ "delegatedAdminAccountId" ], "members": { "clientToken": { "idempotencyToken": true }, "delegatedAdminAccountId": {} } }, "output": { "type": "structure", "required": [ "delegatedAdminAccountId" ], "members": { "delegatedAdminAccountId": {} } } }, "GetConfiguration": { "http": { "requestUri": "/configuration/get", "responseCode": 200 }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "ecrConfiguration": { "type": "structure", "members": { "rescanDurationState": { "type": "structure", "members": { "rescanDuration": {}, "status": {}, "updatedAt": { "type": "timestamp" } } } } } } } }, "GetDelegatedAdminAccount": { "http": { "requestUri": "/delegatedadminaccounts/get", "responseCode": 200 }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "delegatedAdmin": { "type": "structure", "members": { "accountId": {}, "relationshipStatus": {} } } } } }, "GetEc2DeepInspectionConfiguration": { "http": { "requestUri": "/ec2deepinspectionconfiguration/get", "responseCode": 200 }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "errorMessage": {}, "orgPackagePaths": { "shape": "S4s" }, "packagePaths": { "shape": "S4s" }, "status": {} } } }, "GetEncryptionKey": { "http": { "method": "GET", "requestUri": "/encryptionkey/get", "responseCode": 200 }, "input": { "type": "structure", "required": [ "resourceType", "scanType" ], "members": { "resourceType": { "location": "querystring", "locationName": "resourceType" }, "scanType": { "location": "querystring", "locationName": "scanType" } } }, "output": { "type": "structure", "required": [ "kmsKeyId" ], "members": { "kmsKeyId": {} } } }, "GetFindingsReportStatus": { "http": { "requestUri": "/reporting/status/get", "responseCode": 200 }, "input": { "type": "structure", "members": { "reportId": {} } }, "output": { "type": "structure", "members": { "destination": { "shape": "S3h" }, "errorCode": {}, "errorMessage": {}, "filterCriteria": { "shape": "S2r" }, "reportId": {}, "status": {} } } }, "GetMember": { "http": { "requestUri": "/members/get", "responseCode": 200 }, "input": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {} } }, "output": { "type": "structure", "members": { "member": { "shape": "S56" } } } }, "GetSbomExport": { "http": { "requestUri": "/sbomexport/get", "responseCode": 200 }, "input": { "type": "structure", "required": [ "reportId" ], "members": { "reportId": {} } }, "output": { "type": "structure", "members": { "errorCode": {}, "errorMessage": {}, "filterCriteria": { "shape": "S3l" }, "format": {}, "reportId": {}, "s3Destination": { "shape": "S3h" }, "status": {} } }, "idempotent": true }, "ListAccountPermissions": { "http": { "requestUri": "/accountpermissions/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "maxResults": { "type": "integer" }, "nextToken": {}, "service": {} } }, "output": { "type": "structure", "required": [ "permissions" ], "members": { "nextToken": {}, "permissions": { "type": "list", "member": { "type": "structure", "required": [ "operation", "service" ], "members": { "operation": {}, "service": {} } } } } } }, "ListCoverage": { "http": { "requestUri": "/coverage/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "filterCriteria": { "shape": "S5i" }, "maxResults": { "type": "integer" }, "nextToken": {} } }, "output": { "type": "structure", "members": { "coveredResources": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "resourceId", "resourceType", "scanType" ], "members": { "accountId": {}, "lastScannedAt": { "type": "timestamp" }, "resourceId": {}, "resourceMetadata": { "type": "structure", "members": { "ec2": { "type": "structure", "members": { "amiId": {}, "platform": {}, "tags": { "shape": "S3c" } } }, "ecrImage": { "type": "structure", "members": { "tags": { "type": "list", "member": {} } } }, "ecrRepository": { "type": "structure", "members": { "name": {}, "scanFrequency": {} } }, "lambdaFunction": { "type": "structure", "members": { "functionName": {}, "functionTags": { "shape": "S3c" }, "layers": { "type": "list", "member": {} }, "runtime": {} } } } }, "resourceType": {}, "scanStatus": { "type": "structure", "required": [ "reason", "statusCode" ], "members": { "reason": {}, "statusCode": {} } }, "scanType": {} } } }, "nextToken": {} } } }, "ListCoverageStatistics": { "http": { "requestUri": "/coverage/statistics/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "filterCriteria": { "shape": "S5i" }, "groupBy": {}, "nextToken": {} } }, "output": { "type": "structure", "required": [ "totalCounts" ], "members": { "countsByGroup": { "type": "list", "member": { "type": "structure", "members": { "count": { "type": "long" }, "groupKey": {} } } }, "nextToken": {}, "totalCounts": { "type": "long" } } } }, "ListDelegatedAdminAccounts": { "http": { "requestUri": "/delegatedadminaccounts/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "maxResults": { "type": "integer" }, "nextToken": {} } }, "output": { "type": "structure", "members": { "delegatedAdminAccounts": { "type": "list", "member": { "type": "structure", "members": { "accountId": {}, "status": {} } } }, "nextToken": {} } } }, "ListFilters": { "http": { "requestUri": "/filters/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "action": {}, "arns": { "type": "list", "member": {} }, "maxResults": { "type": "integer" }, "nextToken": {} } }, "output": { "type": "structure", "required": [ "filters" ], "members": { "filters": { "type": "list", "member": { "type": "structure", "required": [ "action", "arn", "createdAt", "criteria", "name", "ownerId", "updatedAt" ], "members": { "action": {}, "arn": {}, "createdAt": { "type": "timestamp" }, "criteria": { "shape": "S2r" }, "description": {}, "name": {}, "ownerId": {}, "reason": {}, "tags": { "shape": "S3c" }, "updatedAt": { "type": "timestamp" } } } }, "nextToken": {} } } }, "ListFindingAggregations": { "http": { "requestUri": "/findings/aggregation/list", "responseCode": 200 }, "input": { "type": "structure", "required": [ "aggregationType" ], "members": { "accountIds": { "shape": "S2s" }, "aggregationRequest": { "type": "structure", "members": { "accountAggregation": { "type": "structure", "members": { "findingType": {}, "resourceType": {}, "sortBy": {}, "sortOrder": {} } }, "amiAggregation": { "type": "structure", "members": { "amis": { "shape": "S2s" }, "sortBy": {}, "sortOrder": {} } }, "awsEcrContainerAggregation": { "type": "structure", "members": { "architectures": { "shape": "S2s" }, "imageShas": { "shape": "S2s" }, "imageTags": { "shape": "S2s" }, "repositories": { "shape": "S2s" }, "resourceIds": { "shape": "S2s" }, "sortBy": {}, "sortOrder": {} } }, "ec2InstanceAggregation": { "type": "structure", "members": { "amis": { "shape": "S2s" }, "instanceIds": { "shape": "S2s" }, "instanceTags": { "shape": "S33" }, "operatingSystems": { "shape": "S2s" }, "sortBy": {}, "sortOrder": {} } }, "findingTypeAggregation": { "type": "structure", "members": { "findingType": {}, "resourceType": {}, "sortBy": {}, "sortOrder": {} } }, "imageLayerAggregation": { "type": "structure", "members": { "layerHashes": { "shape": "S2s" }, "repositories": { "shape": "S2s" }, "resourceIds": { "shape": "S2s" }, "sortBy": {}, "sortOrder": {} } }, "lambdaFunctionAggregation": { "type": "structure", "members": { "functionNames": { "shape": "S2s" }, "functionTags": { "shape": "S33" }, "resourceIds": { "shape": "S2s" }, "runtimes": { "shape": "S2s" }, "sortBy": {}, "sortOrder": {} } }, "lambdaLayerAggregation": { "type": "structure", "members": { "functionNames": { "shape": "S2s" }, "layerArns": { "shape": "S2s" }, "resourceIds": { "shape": "S2s" }, "sortBy": {}, "sortOrder": {} } }, "packageAggregation": { "type": "structure", "members": { "packageNames": { "shape": "S2s" }, "sortBy": {}, "sortOrder": {} } }, "repositoryAggregation": { "type": "structure", "members": { "repositories": { "shape": "S2s" }, "sortBy": {}, "sortOrder": {} } }, "titleAggregation": { "type": "structure", "members": { "findingType": {}, "resourceType": {}, "sortBy": {}, "sortOrder": {}, "titles": { "shape": "S2s" }, "vulnerabilityIds": { "shape": "S2s" } } } }, "union": true }, "aggregationType": {}, "maxResults": { "type": "integer" }, "nextToken": {} } }, "output": { "type": "structure", "required": [ "aggregationType" ], "members": { "aggregationType": {}, "nextToken": {}, "responses": { "type": "list", "member": { "type": "structure", "members": { "accountAggregation": { "type": "structure", "members": { "accountId": {}, "severityCounts": { "shape": "S7t" } } }, "amiAggregation": { "type": "structure", "required": [ "ami" ], "members": { "accountId": {}, "affectedInstances": { "type": "long" }, "ami": {}, "severityCounts": { "shape": "S7t" } } }, "awsEcrContainerAggregation": { "type": "structure", "required": [ "resourceId" ], "members": { "accountId": {}, "architecture": {}, "imageSha": {}, "imageTags": { "type": "list", "member": {} }, "repository": {}, "resourceId": {}, "severityCounts": { "shape": "S7t" } } }, "ec2InstanceAggregation": { "type": "structure", "required": [ "instanceId" ], "members": { "accountId": {}, "ami": {}, "instanceId": {}, "instanceTags": { "shape": "S3c" }, "networkFindings": { "type": "long" }, "operatingSystem": {}, "severityCounts": { "shape": "S7t" } } }, "findingTypeAggregation": { "type": "structure", "members": { "accountId": {}, "severityCounts": { "shape": "S7t" } } }, "imageLayerAggregation": { "type": "structure", "required": [ "accountId", "layerHash", "repository", "resourceId" ], "members": { "accountId": {}, "layerHash": {}, "repository": {}, "resourceId": {}, "severityCounts": { "shape": "S7t" } } }, "lambdaFunctionAggregation": { "type": "structure", "required": [ "resourceId" ], "members": { "accountId": {}, "functionName": {}, "lambdaTags": { "shape": "S3c" }, "lastModifiedAt": { "type": "timestamp" }, "resourceId": {}, "runtime": {}, "severityCounts": { "shape": "S7t" } } }, "lambdaLayerAggregation": { "type": "structure", "required": [ "accountId", "functionName", "layerArn", "resourceId" ], "members": { "accountId": {}, "functionName": {}, "layerArn": {}, "resourceId": {}, "severityCounts": { "shape": "S7t" } } }, "packageAggregation": { "type": "structure", "required": [ "packageName" ], "members": { "accountId": {}, "packageName": {}, "severityCounts": { "shape": "S7t" } } }, "repositoryAggregation": { "type": "structure", "required": [ "repository" ], "members": { "accountId": {}, "affectedImages": { "type": "long" }, "repository": {}, "severityCounts": { "shape": "S7t" } } }, "titleAggregation": { "type": "structure", "required": [ "title" ], "members": { "accountId": {}, "severityCounts": { "shape": "S7t" }, "title": {}, "vulnerabilityId": {} } } }, "union": true } } } } }, "ListFindings": { "http": { "requestUri": "/findings/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "filterCriteria": { "shape": "S2r" }, "maxResults": { "type": "integer" }, "nextToken": {}, "sortCriteria": { "type": "structure", "required": [ "field", "sortOrder" ], "members": { "field": {}, "sortOrder": {} } } } }, "output": { "type": "structure", "members": { "findings": { "type": "list", "member": { "type": "structure", "required": [ "awsAccountId", "description", "findingArn", "firstObservedAt", "lastObservedAt", "remediation", "resources", "severity", "status", "type" ], "members": { "awsAccountId": {}, "codeVulnerabilityDetails": { "type": "structure", "required": [ "cwes", "detectorId", "detectorName", "filePath" ], "members": { "cwes": { "type": "list", "member": {} }, "detectorId": {}, "detectorName": {}, "detectorTags": { "type": "list", "member": {} }, "filePath": { "type": "structure", "required": [ "endLine", "fileName", "filePath", "startLine" ], "members": { "endLine": { "type": "integer" }, "fileName": {}, "filePath": {}, "startLine": { "type": "integer" } } }, "referenceUrls": { "type": "list", "member": {} }, "ruleId": {}, "sourceLambdaLayerArn": {} } }, "description": {}, "epss": { "type": "structure", "members": { "score": { "type": "double" } } }, "exploitAvailable": {}, "exploitabilityDetails": { "type": "structure", "members": { "lastKnownExploitAt": { "type": "timestamp" } } }, "findingArn": {}, "firstObservedAt": { "type": "timestamp" }, "fixAvailable": {}, "inspectorScore": { "type": "double" }, "inspectorScoreDetails": { "type": "structure", "members": { "adjustedCvss": { "type": "structure", "required": [ "score", "scoreSource", "scoringVector", "version" ], "members": { "adjustments": { "type": "list", "member": { "type": "structure", "required": [ "metric", "reason" ], "members": { "metric": {}, "reason": {} } } }, "cvssSource": {}, "score": { "type": "double" }, "scoreSource": {}, "scoringVector": {}, "version": {} } } } }, "lastObservedAt": { "type": "timestamp" }, "networkReachabilityDetails": { "type": "structure", "required": [ "networkPath", "openPortRange", "protocol" ], "members": { "networkPath": { "type": "structure", "members": { "steps": { "type": "list", "member": { "type": "structure", "required": [ "componentId", "componentType" ], "members": { "componentId": {}, "componentType": {} } } } } }, "openPortRange": { "type": "structure", "required": [ "begin", "end" ], "members": { "begin": { "type": "integer" }, "end": { "type": "integer" } } }, "protocol": {} } }, "packageVulnerabilityDetails": { "type": "structure", "required": [ "source", "vulnerabilityId" ], "members": { "cvss": { "type": "list", "member": { "type": "structure", "required": [ "baseScore", "scoringVector", "source", "version" ], "members": { "baseScore": { "type": "double" }, "scoringVector": {}, "source": {}, "version": {} } } }, "referenceUrls": { "type": "list", "member": {} }, "relatedVulnerabilities": { "type": "list", "member": {} }, "source": {}, "sourceUrl": {}, "vendorCreatedAt": { "type": "timestamp" }, "vendorSeverity": {}, "vendorUpdatedAt": { "type": "timestamp" }, "vulnerabilityId": {}, "vulnerablePackages": { "type": "list", "member": { "type": "structure", "required": [ "name", "version" ], "members": { "arch": {}, "epoch": { "type": "integer" }, "filePath": {}, "fixedInVersion": {}, "name": {}, "packageManager": {}, "release": {}, "remediation": {}, "sourceLambdaLayerArn": {}, "sourceLayerHash": {}, "version": {} } } } } }, "remediation": { "type": "structure", "members": { "recommendation": { "type": "structure", "members": { "Url": {}, "text": {} } } } }, "resources": { "type": "list", "member": { "type": "structure", "required": [ "id", "type" ], "members": { "details": { "type": "structure", "members": { "awsEc2Instance": { "type": "structure", "members": { "iamInstanceProfileArn": {}, "imageId": {}, "ipV4Addresses": { "type": "list", "member": {} }, "ipV6Addresses": { "type": "list", "member": {} }, "keyName": {}, "launchedAt": { "type": "timestamp" }, "platform": {}, "subnetId": {}, "type": {}, "vpcId": {} } }, "awsEcrContainerImage": { "type": "structure", "required": [ "imageHash", "registry", "repositoryName" ], "members": { "architecture": {}, "author": {}, "imageHash": {}, "imageTags": { "type": "list", "member": {} }, "platform": {}, "pushedAt": { "type": "timestamp" }, "registry": {}, "repositoryName": {} } }, "awsLambdaFunction": { "type": "structure", "required": [ "codeSha256", "executionRoleArn", "functionName", "runtime", "version" ], "members": { "architectures": { "type": "list", "member": {} }, "codeSha256": {}, "executionRoleArn": {}, "functionName": {}, "lastModifiedAt": { "type": "timestamp" }, "layers": { "type": "list", "member": {} }, "packageType": {}, "runtime": {}, "version": {}, "vpcConfig": { "type": "structure", "members": { "securityGroupIds": { "type": "list", "member": {} }, "subnetIds": { "type": "list", "member": {} }, "vpcId": {} } } } } } }, "id": {}, "partition": {}, "region": {}, "tags": { "shape": "S3c" }, "type": {} } } }, "severity": {}, "status": {}, "title": {}, "type": {}, "updatedAt": { "type": "timestamp" } } } }, "nextToken": {} } } }, "ListMembers": { "http": { "requestUri": "/members/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "maxResults": { "type": "integer" }, "nextToken": {}, "onlyAssociated": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "members": { "type": "list", "member": { "shape": "S56" } }, "nextToken": {} } } }, "ListTagsForResource": { "http": { "method": "GET", "requestUri": "/tags/{resourceArn}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "resourceArn" ], "members": { "resourceArn": { "location": "uri", "locationName": "resourceArn" } } }, "output": { "type": "structure", "members": { "tags": { "shape": "S3c" } } } }, "ListUsageTotals": { "http": { "requestUri": "/usage/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "accountIds": { "type": "list", "member": {} }, "maxResults": { "type": "integer" }, "nextToken": {} } }, "output": { "type": "structure", "members": { "nextToken": {}, "totals": { "type": "list", "member": { "type": "structure", "members": { "accountId": {}, "usage": { "type": "list", "member": { "type": "structure", "members": { "currency": {}, "estimatedMonthlyCost": { "type": "double" }, "total": { "type": "double" }, "type": {} } } } } } } } } }, "ResetEncryptionKey": { "http": { "method": "PUT", "requestUri": "/encryptionkey/reset", "responseCode": 200 }, "input": { "type": "structure", "required": [ "resourceType", "scanType" ], "members": { "resourceType": {}, "scanType": {} } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "SearchVulnerabilities": { "http": { "requestUri": "/vulnerabilities/search", "responseCode": 200 }, "input": { "type": "structure", "required": [ "filterCriteria" ], "members": { "filterCriteria": { "type": "structure", "required": [ "vulnerabilityIds" ], "members": { "vulnerabilityIds": { "type": "list", "member": {} } } }, "nextToken": {} } }, "output": { "type": "structure", "required": [ "vulnerabilities" ], "members": { "nextToken": {}, "vulnerabilities": { "type": "list", "member": { "type": "structure", "required": [ "id" ], "members": { "atigData": { "type": "structure", "members": { "firstSeen": { "type": "timestamp" }, "lastSeen": { "type": "timestamp" }, "targets": { "type": "list", "member": {} }, "ttps": { "shape": "S1q" } } }, "cisaData": { "shape": "S16" }, "cvss2": { "type": "structure", "members": { "baseScore": { "type": "double" }, "scoringVector": {} } }, "cvss3": { "type": "structure", "members": { "baseScore": { "type": "double" }, "scoringVector": {} } }, "cwes": { "shape": "S1a" }, "description": {}, "detectionPlatforms": { "type": "list", "member": {} }, "epss": { "type": "structure", "members": { "score": { "type": "double" } } }, "exploitObserved": { "shape": "S1i" }, "id": {}, "referenceUrls": { "shape": "S1l" }, "relatedVulnerabilities": { "type": "list", "member": {} }, "source": {}, "sourceUrl": {}, "vendorCreatedAt": { "type": "timestamp" }, "vendorSeverity": {}, "vendorUpdatedAt": { "type": "timestamp" } } } } } } }, "TagResource": { "http": { "requestUri": "/tags/{resourceArn}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "resourceArn", "tags" ], "members": { "resourceArn": { "location": "uri", "locationName": "resourceArn" }, "tags": { "shape": "S3c" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "UntagResource": { "http": { "method": "DELETE", "requestUri": "/tags/{resourceArn}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "resourceArn", "tagKeys" ], "members": { "resourceArn": { "location": "uri", "locationName": "resourceArn" }, "tagKeys": { "location": "querystring", "locationName": "tagKeys", "type": "list", "member": {} } } }, "output": { "type": "structure", "members": {} } }, "UpdateConfiguration": { "http": { "requestUri": "/configuration/update", "responseCode": 200 }, "input": { "type": "structure", "required": [ "ecrConfiguration" ], "members": { "ecrConfiguration": { "type": "structure", "required": [ "rescanDuration" ], "members": { "rescanDuration": {} } } } }, "output": { "type": "structure", "members": {} } }, "UpdateEc2DeepInspectionConfiguration": { "http": { "requestUri": "/ec2deepinspectionconfiguration/update", "responseCode": 200 }, "input": { "type": "structure", "members": { "activateDeepInspection": { "type": "boolean" }, "packagePaths": { "shape": "S4s" } } }, "output": { "type": "structure", "members": { "errorMessage": {}, "orgPackagePaths": { "shape": "S4s" }, "packagePaths": { "shape": "S4s" }, "status": {} } } }, "UpdateEncryptionKey": { "http": { "method": "PUT", "requestUri": "/encryptionkey/update", "responseCode": 200 }, "input": { "type": "structure", "required": [ "kmsKeyId", "resourceType", "scanType" ], "members": { "kmsKeyId": {}, "resourceType": {}, "scanType": {} } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "UpdateFilter": { "http": { "requestUri": "/filters/update", "responseCode": 200 }, "input": { "type": "structure", "required": [ "filterArn" ], "members": { "action": {}, "description": {}, "filterArn": {}, "filterCriteria": { "shape": "S2r" }, "name": {}, "reason": {} } }, "output": { "type": "structure", "required": [ "arn" ], "members": { "arn": {} } } }, "UpdateOrgEc2DeepInspectionConfiguration": { "http": { "requestUri": "/ec2deepinspectionconfiguration/org/update", "responseCode": 200 }, "input": { "type": "structure", "required": [ "orgPackagePaths" ], "members": { "orgPackagePaths": { "shape": "S4s" } } }, "output": { "type": "structure", "members": {} } }, "UpdateOrganizationConfiguration": { "http": { "requestUri": "/organizationconfiguration/update", "responseCode": 200 }, "input": { "type": "structure", "required": [ "autoEnable" ], "members": { "autoEnable": { "shape": "S3y" } } }, "output": { "type": "structure", "required": [ "autoEnable" ], "members": { "autoEnable": { "shape": "S3y" } } } } }, "shapes": { "S5": { "type": "list", "member": {} }, "Sa": { "type": "structure", "required": [ "errorCode", "errorMessage", "status" ], "members": { "errorCode": {}, "errorMessage": {}, "status": {} } }, "Se": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "errorCode", "errorMessage" ], "members": { "accountId": {}, "errorCode": {}, "errorMessage": {}, "resourceStatus": { "shape": "Sg" }, "status": {} } } }, "Sg": { "type": "structure", "required": [ "ec2", "ecr" ], "members": { "ec2": {}, "ecr": {}, "lambda": {}, "lambdaCode": {} } }, "S16": { "type": "structure", "members": { "action": {}, "dateAdded": { "type": "timestamp" }, "dateDue": { "type": "timestamp" } } }, "S1a": { "type": "list", "member": {} }, "S1i": { "type": "structure", "members": { "firstSeen": { "type": "timestamp" }, "lastSeen": { "type": "timestamp" } } }, "S1l": { "type": "list", "member": {} }, "S1q": { "type": "list", "member": {} }, "S29": { "type": "list", "member": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {}, "errorMessage": {}, "status": {} } } }, "S2c": { "type": "list", "member": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {}, "ec2ScanStatus": {}, "errorMessage": {} } } }, "S2r": { "type": "structure", "members": { "awsAccountId": { "shape": "S2s" }, "codeVulnerabilityDetectorName": { "shape": "S2s" }, "codeVulnerabilityDetectorTags": { "shape": "S2s" }, "codeVulnerabilityFilePath": { "shape": "S2s" }, "componentId": { "shape": "S2s" }, "componentType": { "shape": "S2s" }, "ec2InstanceImageId": { "shape": "S2s" }, "ec2InstanceSubnetId": { "shape": "S2s" }, "ec2InstanceVpcId": { "shape": "S2s" }, "ecrImageArchitecture": { "shape": "S2s" }, "ecrImageHash": { "shape": "S2s" }, "ecrImagePushedAt": { "shape": "S2w" }, "ecrImageRegistry": { "shape": "S2s" }, "ecrImageRepositoryName": { "shape": "S2s" }, "ecrImageTags": { "shape": "S2s" }, "epssScore": { "shape": "S2y" }, "exploitAvailable": { "shape": "S2s" }, "findingArn": { "shape": "S2s" }, "findingStatus": { "shape": "S2s" }, "findingType": { "shape": "S2s" }, "firstObservedAt": { "shape": "S2w" }, "fixAvailable": { "shape": "S2s" }, "inspectorScore": { "shape": "S2y" }, "lambdaFunctionExecutionRoleArn": { "shape": "S2s" }, "lambdaFunctionLastModifiedAt": { "shape": "S2w" }, "lambdaFunctionLayers": { "shape": "S2s" }, "lambdaFunctionName": { "shape": "S2s" }, "lambdaFunctionRuntime": { "shape": "S2s" }, "lastObservedAt": { "shape": "S2w" }, "networkProtocol": { "shape": "S2s" }, "portRange": { "type": "list", "member": { "type": "structure", "members": { "beginInclusive": { "type": "integer" }, "endInclusive": { "type": "integer" } } } }, "relatedVulnerabilities": { "shape": "S2s" }, "resourceId": { "shape": "S2s" }, "resourceTags": { "shape": "S33" }, "resourceType": { "shape": "S2s" }, "severity": { "shape": "S2s" }, "title": { "shape": "S2s" }, "updatedAt": { "shape": "S2w" }, "vendorSeverity": { "shape": "S2s" }, "vulnerabilityId": { "shape": "S2s" }, "vulnerabilitySource": { "shape": "S2s" }, "vulnerablePackages": { "type": "list", "member": { "type": "structure", "members": { "architecture": { "shape": "S2t" }, "epoch": { "shape": "S2z" }, "name": { "shape": "S2t" }, "release": { "shape": "S2t" }, "sourceLambdaLayerArn": { "shape": "S2t" }, "sourceLayerHash": { "shape": "S2t" }, "version": { "shape": "S2t" } } } } } }, "S2s": { "type": "list", "member": { "shape": "S2t" } }, "S2t": { "type": "structure", "required": [ "comparison", "value" ], "members": { "comparison": {}, "value": {} } }, "S2w": { "type": "list", "member": { "type": "structure", "members": { "endInclusive": { "type": "timestamp" }, "startInclusive": { "type": "timestamp" } } } }, "S2y": { "type": "list", "member": { "shape": "S2z" } }, "S2z": { "type": "structure", "members": { "lowerInclusive": { "type": "double" }, "upperInclusive": { "type": "double" } } }, "S33": { "type": "list", "member": { "type": "structure", "required": [ "comparison", "key" ], "members": { "comparison": {}, "key": {}, "value": {} } } }, "S3c": { "type": "map", "key": {}, "value": {} }, "S3h": { "type": "structure", "required": [ "bucketName", "kmsKeyArn" ], "members": { "bucketName": {}, "keyPrefix": {}, "kmsKeyArn": {} } }, "S3l": { "type": "structure", "members": { "accountId": { "shape": "S3m" }, "ec2InstanceTags": { "shape": "S3q" }, "ecrImageTags": { "shape": "S3m" }, "ecrRepositoryName": { "shape": "S3m" }, "lambdaFunctionName": { "shape": "S3m" }, "lambdaFunctionTags": { "shape": "S3q" }, "resourceId": { "shape": "S3m" }, "resourceType": { "shape": "S3m" } } }, "S3m": { "type": "list", "member": { "type": "structure", "required": [ "comparison", "value" ], "members": { "comparison": {}, "value": {} } } }, "S3q": { "type": "list", "member": { "type": "structure", "required": [ "comparison", "key" ], "members": { "comparison": {}, "key": {}, "value": {} } } }, "S3y": { "type": "structure", "required": [ "ec2", "ecr" ], "members": { "ec2": { "type": "boolean" }, "ecr": { "type": "boolean" }, "lambda": { "type": "boolean" }, "lambdaCode": { "type": "boolean" } } }, "S43": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "resourceStatus", "status" ], "members": { "accountId": {}, "resourceStatus": { "shape": "Sg" }, "status": {} } } }, "S4s": { "type": "list", "member": {} }, "S56": { "type": "structure", "members": { "accountId": {}, "delegatedAdminAccountId": {}, "relationshipStatus": {}, "updatedAt": { "type": "timestamp" } } }, "S5i": { "type": "structure", "members": { "accountId": { "shape": "S5j" }, "ec2InstanceTags": { "shape": "S5n" }, "ecrImageTags": { "shape": "S5j" }, "ecrRepositoryName": { "shape": "S5j" }, "lambdaFunctionName": { "shape": "S5j" }, "lambdaFunctionRuntime": { "shape": "S5j" }, "lambdaFunctionTags": { "shape": "S5n" }, "lastScannedAt": { "type": "list", "member": { "type": "structure", "members": { "endInclusive": { "type": "timestamp" }, "startInclusive": { "type": "timestamp" } } } }, "resourceId": { "shape": "S5j" }, "resourceType": { "shape": "S5j" }, "scanStatusCode": { "shape": "S5j" }, "scanStatusReason": { "shape": "S5j" }, "scanType": { "shape": "S5j" } } }, "S5j": { "type": "list", "member": { "type": "structure", "required": [ "comparison", "value" ], "members": { "comparison": {}, "value": {} } } }, "S5n": { "type": "list", "member": { "type": "structure", "required": [ "comparison", "key" ], "members": { "comparison": {}, "key": {}, "value": {} } } }, "S7t": { "type": "structure", "members": { "all": { "type": "long" }, "critical": { "type": "long" }, "high": { "type": "long" }, "medium": { "type": "long" } } } } }