open-next-cdk
Version:
Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK
1,903 lines (1,902 loc) • 75.9 kB
JSON
{
"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": {},