aws-sdk
Version:
AWS SDK for JavaScript
1,764 lines (1,763 loc) • 175 kB
JSON
{
"version": "2.0",
"metadata": {
"apiVersion": "2017-11-28",
"endpointPrefix": "guardduty",
"jsonVersion": "1.1",
"protocol": "rest-json",
"protocols": [
"rest-json"
],
"serviceFullName": "Amazon GuardDuty",
"serviceId": "GuardDuty",
"signatureVersion": "v4",
"signingName": "guardduty",
"uid": "guardduty-2017-11-28",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"AcceptAdministratorInvitation": {
"http": {
"requestUri": "/detector/{detectorId}/administrator",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"AdministratorId",
"InvitationId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"AdministratorId": {
"locationName": "administratorId"
},
"InvitationId": {
"locationName": "invitationId"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"AcceptInvitation": {
"http": {
"requestUri": "/detector/{detectorId}/master",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"MasterId",
"InvitationId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"MasterId": {
"locationName": "masterId"
},
"InvitationId": {
"locationName": "invitationId"
}
},
"deprecated": true,
"deprecatedMessage": "This input is deprecated, use AcceptAdministratorInvitationRequest instead"
},
"output": {
"type": "structure",
"members": {},
"deprecated": true,
"deprecatedMessage": "This output is deprecated, use AcceptAdministratorInvitationResponse instead"
},
"deprecated": true,
"deprecatedMessage": "This operation is deprecated, use AcceptAdministratorInvitation instead"
},
"ArchiveFindings": {
"http": {
"requestUri": "/detector/{detectorId}/findings/archive",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"FindingIds"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"FindingIds": {
"shape": "S8",
"locationName": "findingIds"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"CreateDetector": {
"http": {
"requestUri": "/detector",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"Enable"
],
"members": {
"Enable": {
"locationName": "enable",
"type": "boolean"
},
"ClientToken": {
"idempotencyToken": true,
"locationName": "clientToken"
},
"FindingPublishingFrequency": {
"locationName": "findingPublishingFrequency"
},
"DataSources": {
"shape": "Sf",
"deprecated": true,
"deprecatedMessage": "This parameter is deprecated, use Features instead",
"locationName": "dataSources"
},
"Tags": {
"shape": "Sl",
"locationName": "tags"
},
"Features": {
"shape": "So",
"locationName": "features"
}
}
},
"output": {
"type": "structure",
"members": {
"DetectorId": {
"locationName": "detectorId"
},
"UnprocessedDataSources": {
"locationName": "unprocessedDataSources",
"type": "structure",
"members": {
"MalwareProtection": {
"shape": "Sx",
"locationName": "malwareProtection"
}
}
}
}
}
},
"CreateFilter": {
"http": {
"requestUri": "/detector/{detectorId}/filter",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"Name",
"FindingCriteria"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"Name": {
"locationName": "name"
},
"Description": {
"locationName": "description"
},
"Action": {
"locationName": "action"
},
"Rank": {
"locationName": "rank",
"type": "integer"
},
"FindingCriteria": {
"shape": "S16",
"locationName": "findingCriteria"
},
"ClientToken": {
"idempotencyToken": true,
"locationName": "clientToken"
},
"Tags": {
"shape": "Sl",
"locationName": "tags"
}
}
},
"output": {
"type": "structure",
"required": [
"Name"
],
"members": {
"Name": {
"locationName": "name"
}
}
}
},
"CreateIPSet": {
"http": {
"requestUri": "/detector/{detectorId}/ipset",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"Name",
"Format",
"Location",
"Activate"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"Name": {
"locationName": "name"
},
"Format": {
"locationName": "format"
},
"Location": {
"locationName": "location"
},
"Activate": {
"locationName": "activate",
"type": "boolean"
},
"ClientToken": {
"idempotencyToken": true,
"locationName": "clientToken"
},
"Tags": {
"shape": "Sl",
"locationName": "tags"
}
}
},
"output": {
"type": "structure",
"required": [
"IpSetId"
],
"members": {
"IpSetId": {
"locationName": "ipSetId"
}
}
}
},
"CreateMalwareProtectionPlan": {
"http": {
"requestUri": "/malware-protection-plan",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"Role",
"ProtectedResource"
],
"members": {
"ClientToken": {
"idempotencyToken": true,
"locationName": "clientToken"
},
"Role": {
"locationName": "role"
},
"ProtectedResource": {
"shape": "S1m",
"locationName": "protectedResource"
},
"Actions": {
"shape": "S1p",
"locationName": "actions"
},
"Tags": {
"shape": "Sl",
"locationName": "tags"
}
}
},
"output": {
"type": "structure",
"members": {
"MalwareProtectionPlanId": {
"locationName": "malwareProtectionPlanId"
}
}
}
},
"CreateMembers": {
"http": {
"requestUri": "/detector/{detectorId}/member",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"AccountDetails"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"AccountDetails": {
"locationName": "accountDetails",
"type": "list",
"member": {
"type": "structure",
"required": [
"AccountId",
"Email"
],
"members": {
"AccountId": {
"locationName": "accountId"
},
"Email": {
"shape": "S1x",
"locationName": "email"
}
}
}
}
}
},
"output": {
"type": "structure",
"required": [
"UnprocessedAccounts"
],
"members": {
"UnprocessedAccounts": {
"shape": "S1z",
"locationName": "unprocessedAccounts"
}
}
}
},
"CreatePublishingDestination": {
"http": {
"requestUri": "/detector/{detectorId}/publishingDestination",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"DestinationType",
"DestinationProperties"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"DestinationType": {
"locationName": "destinationType"
},
"DestinationProperties": {
"shape": "S23",
"locationName": "destinationProperties"
},
"ClientToken": {
"idempotencyToken": true,
"locationName": "clientToken"
}
}
},
"output": {
"type": "structure",
"required": [
"DestinationId"
],
"members": {
"DestinationId": {
"locationName": "destinationId"
}
}
}
},
"CreateSampleFindings": {
"http": {
"requestUri": "/detector/{detectorId}/findings/create",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"FindingTypes": {
"locationName": "findingTypes",
"type": "list",
"member": {}
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"CreateThreatIntelSet": {
"http": {
"requestUri": "/detector/{detectorId}/threatintelset",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"Name",
"Format",
"Location",
"Activate"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"Name": {
"locationName": "name"
},
"Format": {
"locationName": "format"
},
"Location": {
"locationName": "location"
},
"Activate": {
"locationName": "activate",
"type": "boolean"
},
"ClientToken": {
"idempotencyToken": true,
"locationName": "clientToken"
},
"Tags": {
"shape": "Sl",
"locationName": "tags"
}
}
},
"output": {
"type": "structure",
"required": [
"ThreatIntelSetId"
],
"members": {
"ThreatIntelSetId": {
"locationName": "threatIntelSetId"
}
}
}
},
"DeclineInvitations": {
"http": {
"requestUri": "/invitation/decline",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"AccountIds"
],
"members": {
"AccountIds": {
"shape": "S2d",
"locationName": "accountIds"
}
}
},
"output": {
"type": "structure",
"required": [
"UnprocessedAccounts"
],
"members": {
"UnprocessedAccounts": {
"shape": "S1z",
"locationName": "unprocessedAccounts"
}
}
}
},
"DeleteDetector": {
"http": {
"method": "DELETE",
"requestUri": "/detector/{detectorId}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"DeleteFilter": {
"http": {
"method": "DELETE",
"requestUri": "/detector/{detectorId}/filter/{filterName}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"FilterName"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"FilterName": {
"location": "uri",
"locationName": "filterName"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"DeleteIPSet": {
"http": {
"method": "DELETE",
"requestUri": "/detector/{detectorId}/ipset/{ipSetId}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"IpSetId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"IpSetId": {
"location": "uri",
"locationName": "ipSetId"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"DeleteInvitations": {
"http": {
"requestUri": "/invitation/delete",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"AccountIds"
],
"members": {
"AccountIds": {
"shape": "S2d",
"locationName": "accountIds"
}
}
},
"output": {
"type": "structure",
"required": [
"UnprocessedAccounts"
],
"members": {
"UnprocessedAccounts": {
"shape": "S1z",
"locationName": "unprocessedAccounts"
}
}
}
},
"DeleteMalwareProtectionPlan": {
"http": {
"method": "DELETE",
"requestUri": "/malware-protection-plan/{malwareProtectionPlanId}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"MalwareProtectionPlanId"
],
"members": {
"MalwareProtectionPlanId": {
"location": "uri",
"locationName": "malwareProtectionPlanId"
}
}
}
},
"DeleteMembers": {
"http": {
"requestUri": "/detector/{detectorId}/member/delete",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"AccountIds"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"AccountIds": {
"shape": "S2d",
"locationName": "accountIds"
}
}
},
"output": {
"type": "structure",
"required": [
"UnprocessedAccounts"
],
"members": {
"UnprocessedAccounts": {
"shape": "S1z",
"locationName": "unprocessedAccounts"
}
}
}
},
"DeletePublishingDestination": {
"http": {
"method": "DELETE",
"requestUri": "/detector/{detectorId}/publishingDestination/{destinationId}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"DestinationId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"DestinationId": {
"location": "uri",
"locationName": "destinationId"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"DeleteThreatIntelSet": {
"http": {
"method": "DELETE",
"requestUri": "/detector/{detectorId}/threatintelset/{threatIntelSetId}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"ThreatIntelSetId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"ThreatIntelSetId": {
"location": "uri",
"locationName": "threatIntelSetId"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"DescribeMalwareScans": {
"http": {
"requestUri": "/detector/{detectorId}/malware-scans",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"NextToken": {
"locationName": "nextToken"
},
"MaxResults": {
"locationName": "maxResults",
"type": "integer"
},
"FilterCriteria": {
"locationName": "filterCriteria",
"type": "structure",
"members": {
"FilterCriterion": {
"locationName": "filterCriterion",
"type": "list",
"member": {
"type": "structure",
"members": {
"CriterionKey": {
"locationName": "criterionKey"
},
"FilterCondition": {
"locationName": "filterCondition",
"type": "structure",
"members": {
"EqualsValue": {
"locationName": "equalsValue"
},
"GreaterThan": {
"locationName": "greaterThan",
"type": "long"
},
"LessThan": {
"locationName": "lessThan",
"type": "long"
}
}
}
}
}
}
}
},
"SortCriteria": {
"shape": "S33",
"locationName": "sortCriteria"
}
}
},
"output": {
"type": "structure",
"required": [
"Scans"
],
"members": {
"Scans": {
"locationName": "scans",
"type": "list",
"member": {
"type": "structure",
"members": {
"DetectorId": {
"locationName": "detectorId"
},
"AdminDetectorId": {
"locationName": "adminDetectorId"
},
"ScanId": {
"locationName": "scanId"
},
"ScanStatus": {
"locationName": "scanStatus"
},
"FailureReason": {
"locationName": "failureReason"
},
"ScanStartTime": {
"locationName": "scanStartTime",
"type": "timestamp"
},
"ScanEndTime": {
"locationName": "scanEndTime",
"type": "timestamp"
},
"TriggerDetails": {
"locationName": "triggerDetails",
"type": "structure",
"members": {
"GuardDutyFindingId": {
"locationName": "guardDutyFindingId"
},
"Description": {
"locationName": "description"
}
}
},
"ResourceDetails": {
"locationName": "resourceDetails",
"type": "structure",
"members": {
"InstanceArn": {
"locationName": "instanceArn"
}
}
},
"ScanResultDetails": {
"locationName": "scanResultDetails",
"type": "structure",
"members": {
"ScanResult": {
"locationName": "scanResult"
}
}
},
"AccountId": {
"locationName": "accountId"
},
"TotalBytes": {
"locationName": "totalBytes",
"type": "long"
},
"FileCount": {
"locationName": "fileCount",
"type": "long"
},
"AttachedVolumes": {
"shape": "S3g",
"locationName": "attachedVolumes"
},
"ScanType": {
"locationName": "scanType"
}
}
}
},
"NextToken": {
"locationName": "nextToken"
}
}
}
},
"DescribeOrganizationConfiguration": {
"http": {
"method": "GET",
"requestUri": "/detector/{detectorId}/admin",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"MaxResults": {
"location": "querystring",
"locationName": "maxResults",
"type": "integer"
},
"NextToken": {
"location": "querystring",
"locationName": "nextToken"
}
}
},
"output": {
"type": "structure",
"required": [
"MemberAccountLimitReached"
],
"members": {
"AutoEnable": {
"deprecated": true,
"deprecatedMessage": "This field is deprecated, use AutoEnableOrganizationMembers instead",
"locationName": "autoEnable",
"type": "boolean"
},
"MemberAccountLimitReached": {
"locationName": "memberAccountLimitReached",
"type": "boolean"
},
"DataSources": {
"deprecated": true,
"deprecatedMessage": "This parameter is deprecated, use Features instead",
"locationName": "dataSources",
"type": "structure",
"required": [
"S3Logs"
],
"members": {
"S3Logs": {
"locationName": "s3Logs",
"type": "structure",
"required": [
"AutoEnable"
],
"members": {
"AutoEnable": {
"locationName": "autoEnable",
"type": "boolean"
}
}
},
"Kubernetes": {
"locationName": "kubernetes",
"type": "structure",
"required": [
"AuditLogs"
],
"members": {
"AuditLogs": {
"locationName": "auditLogs",
"type": "structure",
"required": [
"AutoEnable"
],
"members": {
"AutoEnable": {
"locationName": "autoEnable",
"type": "boolean"
}
}
}
}
},
"MalwareProtection": {
"locationName": "malwareProtection",
"type": "structure",
"members": {
"ScanEc2InstanceWithFindings": {
"locationName": "scanEc2InstanceWithFindings",
"type": "structure",
"members": {
"EbsVolumes": {
"locationName": "ebsVolumes",
"type": "structure",
"members": {
"AutoEnable": {
"locationName": "autoEnable",
"type": "boolean"
}
}
}
}
}
}
}
}
},
"Features": {
"locationName": "features",
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {
"locationName": "name"
},
"AutoEnable": {
"locationName": "autoEnable"
},
"AdditionalConfiguration": {
"locationName": "additionalConfiguration",
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {
"locationName": "name"
},
"AutoEnable": {
"locationName": "autoEnable"
}
}
}
}
}
}
},
"NextToken": {
"locationName": "nextToken"
},
"AutoEnableOrganizationMembers": {
"locationName": "autoEnableOrganizationMembers"
}
}
}
},
"DescribePublishingDestination": {
"http": {
"method": "GET",
"requestUri": "/detector/{detectorId}/publishingDestination/{destinationId}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"DestinationId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"DestinationId": {
"location": "uri",
"locationName": "destinationId"
}
}
},
"output": {
"type": "structure",
"required": [
"DestinationId",
"DestinationType",
"Status",
"PublishingFailureStartTimestamp",
"DestinationProperties"
],
"members": {
"DestinationId": {
"locationName": "destinationId"
},
"DestinationType": {
"locationName": "destinationType"
},
"Status": {
"locationName": "status"
},
"PublishingFailureStartTimestamp": {
"locationName": "publishingFailureStartTimestamp",
"type": "long"
},
"DestinationProperties": {
"shape": "S23",
"locationName": "destinationProperties"
}
}
}
},
"DisableOrganizationAdminAccount": {
"http": {
"requestUri": "/admin/disable",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"AdminAccountId"
],
"members": {
"AdminAccountId": {
"locationName": "adminAccountId"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"DisassociateFromAdministratorAccount": {
"http": {
"requestUri": "/detector/{detectorId}/administrator/disassociate",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"DisassociateFromMasterAccount": {
"http": {
"requestUri": "/detector/{detectorId}/master/disassociate",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
}
},
"deprecated": true,
"deprecatedMessage": "This input is deprecated, use DisassociateFromAdministratorAccountRequest instead"
},
"output": {
"type": "structure",
"members": {},
"deprecated": true,
"deprecatedMessage": "This output is deprecated, use DisassociateFromAdministratorAccountResponse instead"
},
"deprecated": true,
"deprecatedMessage": "This operation is deprecated, use DisassociateFromAdministratorAccount instead"
},
"DisassociateMembers": {
"http": {
"requestUri": "/detector/{detectorId}/member/disassociate",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"AccountIds"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"AccountIds": {
"shape": "S2d",
"locationName": "accountIds"
}
}
},
"output": {
"type": "structure",
"required": [
"UnprocessedAccounts"
],
"members": {
"UnprocessedAccounts": {
"shape": "S1z",
"locationName": "unprocessedAccounts"
}
}
}
},
"EnableOrganizationAdminAccount": {
"http": {
"requestUri": "/admin/enable",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"AdminAccountId"
],
"members": {
"AdminAccountId": {
"locationName": "adminAccountId"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"GetAdministratorAccount": {
"http": {
"method": "GET",
"requestUri": "/detector/{detectorId}/administrator",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
}
}
},
"output": {
"type": "structure",
"required": [
"Administrator"
],
"members": {
"Administrator": {
"locationName": "administrator",
"type": "structure",
"members": {
"AccountId": {
"locationName": "accountId"
},
"InvitationId": {
"locationName": "invitationId"
},
"RelationshipStatus": {
"locationName": "relationshipStatus"
},
"InvitedAt": {
"locationName": "invitedAt"
}
}
}
}
}
},
"GetCoverageStatistics": {
"http": {
"requestUri": "/detector/{detectorId}/coverage/statistics",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"StatisticsType"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"FilterCriteria": {
"shape": "S4i",
"locationName": "filterCriteria"
},
"StatisticsType": {
"locationName": "statisticsType",
"type": "list",
"member": {}
}
}
},
"output": {
"type": "structure",
"members": {
"CoverageStatistics": {
"locationName": "coverageStatistics",
"type": "structure",
"members": {
"CountByResourceType": {
"locationName": "countByResourceType",
"type": "map",
"key": {},
"value": {
"type": "long"
}
},
"CountByCoverageStatus": {
"locationName": "countByCoverageStatus",
"type": "map",
"key": {},
"value": {
"type": "long"
}
}
}
}
}
}
},
"GetDetector": {
"http": {
"method": "GET",
"requestUri": "/detector/{detectorId}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
}
}
},
"output": {
"type": "structure",
"required": [
"ServiceRole",
"Status"
],
"members": {
"CreatedAt": {
"locationName": "createdAt"
},
"FindingPublishingFrequency": {
"locationName": "findingPublishingFrequency"
},
"ServiceRole": {
"locationName": "serviceRole"
},
"Status": {
"locationName": "status"
},
"UpdatedAt": {
"locationName": "updatedAt"
},
"DataSources": {
"shape": "S4y",
"deprecated": true,
"deprecatedMessage": "This parameter is deprecated, use Features instead",
"locationName": "dataSources"
},
"Tags": {
"shape": "Sl",
"locationName": "tags"
},
"Features": {
"locationName": "features",
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {
"locationName": "name"
},
"Status": {
"locationName": "status"
},
"UpdatedAt": {
"locationName": "updatedAt",
"type": "timestamp"
},
"AdditionalConfiguration": {
"locationName": "additionalConfiguration",
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {
"locationName": "name"
},
"Status": {
"locationName": "status"
},
"UpdatedAt": {
"locationName": "updatedAt",
"type": "timestamp"
}
}
}
}
}
}
}
}
}
},
"GetFilter": {
"http": {
"method": "GET",
"requestUri": "/detector/{detectorId}/filter/{filterName}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"FilterName"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"FilterName": {
"location": "uri",
"locationName": "filterName"
}
}
},
"output": {
"type": "structure",
"required": [
"Name",
"Action",
"FindingCriteria"
],
"members": {
"Name": {
"locationName": "name"
},
"Description": {
"locationName": "description"
},
"Action": {
"locationName": "action"
},
"Rank": {
"locationName": "rank",
"type": "integer"
},
"FindingCriteria": {
"shape": "S16",
"locationName": "findingCriteria"
},
"Tags": {
"shape": "Sl",
"locationName": "tags"
}
}
}
},
"GetFindings": {
"http": {
"requestUri": "/detector/{detectorId}/findings/get",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"DetectorId",
"FindingIds"
],
"members": {
"DetectorId": {
"location": "uri",
"locationName": "detectorId"
},
"FindingIds": {
"shape": "S8",
"locationName": "findingIds"
},
"SortCriteria": {
"shape": "S33",
"locationName": "sortCriteria"
}
}
},
"output": {
"type": "structure",
"required": [
"Findings"
],
"members": {
"Findings": {
"locationName": "findings",
"type": "list",
"member": {
"type": "structure",
"required": [
"AccountId",
"Arn",
"CreatedAt",
"Id",
"Region",
"Resource",
"SchemaVersion",
"Severity",
"Type",
"UpdatedAt"
],
"members": {
"AccountId": {
"locationName": "accountId"
},
"Arn": {
"locationName": "arn"
},
"Confidence": {
"locationName": "confidence",
"type": "double"
},
"CreatedAt": {
"locationName": "createdAt"
},
"Description": {
"locationName": "description"
},
"Id": {
"locationName": "id"
},
"Partition": {
"locationName": "partition"
},
"Region": {
"locationName": "region"
},
"Resource": {
"locationName": "resource",
"type": "structure",
"members": {
"AccessKeyDetails": {
"locationName": "accessKeyDetails",
"type": "structure",
"members": {
"AccessKeyId": {
"locationName": "accessKeyId"
},
"PrincipalId": {
"locationName": "principalId"
},
"UserName": {
"locationName": "userName"
},
"UserType": {
"locationName": "userType"
}
}
},
"S3BucketDetails": {
"locationName": "s3BucketDetails",
"type": "list",
"member": {
"type": "structure",
"members": {
"Arn": {
"locationName": "arn"
},
"Name": {
"locationName": "name"
},
"Type": {
"locationName": "type"
},
"CreatedAt": {
"locationName": "createdAt",
"type": "timestamp"
},
"Owner": {
"locationName": "owner",
"type": "structure",
"members": {
"Id": {
"locationName": "id"
}
}
},
"Tags": {
"shape": "S5m",
"locationName": "tags"
},
"DefaultServerSideEncryption": {
"locationName": "defaultServerSideEncryption",
"type": "structure",
"members": {
"EncryptionType": {
"locationName": "encryptionType"
},
"KmsMasterKeyArn": {
"locationName": "kmsMasterKeyArn"
}
}
},
"PublicAccess": {
"locationName": "publicAccess",
"type": "structure",
"members": {
"PermissionConfiguration": {
"locationName": "permissionConfiguration",
"type": "structure",
"members": {
"BucketLevelPermissions": {
"locationName": "bucketLevelPermissions",
"type": "structure",
"members": {
"AccessControlList": {
"locationName": "accessControlList",
"type": "structure",
"members": {
"AllowsPublicReadAccess": {
"locationName": "allowsPublicReadAccess",
"type": "boolean"
},
"AllowsPublicWriteAccess": {
"locationName": "allowsPublicWriteAccess",
"type": "boolean"
}
}
},
"BucketPolicy": {
"locationName": "bucketPolicy",
"type": "structure",
"members": {
"AllowsPublicReadAccess": {
"locationName": "allowsPublicReadAccess",
"type": "boolean"
},
"AllowsPublicWriteAccess": {
"locationName": "allowsPublicWriteAccess",
"type": "boolean"
}
}
},
"BlockPublicAccess": {
"shape": "S5u",
"locationName": "blockPublicAccess"
}
}
},
"AccountLevelPermissions": {
"locationName": "accountLevelPermissions",
"type": "structure",
"members": {
"BlockPublicAccess": {
"shape": "S5u",
"locationName": "blockPublicAccess"
}
}
}
}
},
"EffectivePermission": {
"locationName": "effectivePermission"
}
}
},
"S3ObjectDetails": {
"locationName": "s3ObjectDetails",
"type": "list",
"member": {
"type": "structure",
"members": {
"ObjectArn": {
"locationName": "objectArn"
},
"Key": {
"locationName": "key"
},
"ETag": {
"locationName": "eTag"
},
"Hash": {
"locationName": "hash"
},
"VersionId": {
"locationName": "versionId"
}
}
}
}
}
}
},
"InstanceDetails": {
"locationName": "instanceDetails",
"type": "structure",
"members": {
"AvailabilityZone": {
"locationName": "availabilityZone"
},
"IamInstanceProfile": {
"locationName": "iamInstanceProfile",
"type": "structure",
"members": {
"Arn": {
"locationName": "arn"
},
"Id": {
"locationName": "id"
}
}
},
"ImageDescription": {
"locationName": "imageDescription"
},
"ImageId": {
"locationName": "imageId"
},
"InstanceId": {
"locationName": "instanceId"
},
"InstanceState": {
"locationName": "instanceState"
},
"InstanceType": {
"locationName": "instanceType"
},
"OutpostArn": {
"locationName": "outpostArn"
},
"LaunchTime": {
"locationName": "launchTime"
},
"NetworkInterfaces": {
"locationName": "networkInterfaces",
"type": "list",
"member": {
"type": "structure",
"members": {
"Ipv6Addresses": {
"locationName": "ipv6Addresses",
"type": "list",
"member": {}
},
"NetworkInterfaceId": {
"locationName": "networkInterfaceId"
},
"PrivateDnsName": {
"locationName": "privateDnsName"