swagger: '2.0' info: version: '2016-02-16' x-release: v4 title: Amazon Inspector description: 'Amazon Inspector

Amazon Inspector enables you to analyze the behavior of your AWS resources and to identify potential security issues. For more information, see Amazon Inspector User Guide.

' x-logo: url: 'https://twitter.com/awscloud/profile_image?size=original' backgroundColor: '#FFFFFF' termsOfService: 'https://aws.amazon.com/service-terms/' contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: 'https://github.com/mermade/aws2openapi' x-twitter: PermittedSoc license: name: Apache 2.0 License url: 'http://www.apache.org/licenses/' x-providerName: amazonaws.com x-serviceName: inspector x-origin: - contentType: application/json url: 'https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/inspector-2016-02-16.normal.json' converter: url: 'https://github.com/mermade/aws2openapi' version: 1.0.0 x-apisguru-direct: true x-apiClientRegistration: url: 'https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct' x-apisguru-categories: - cloud x-preferred: true externalDocs: description: Amazon Web Services documentation url: 'https://aws.amazon.com/inspector/' host: inspector.amazonaws.com basePath: / x-hasEquivalentPaths: true schemes: - https - http consumes: - application/json produces: - application/json parameters: Action: name: Action in: query type: string required: true Version: name: Version in: query type: string required: true X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header type: string required: false X-Amz-Date: name: X-Amz-Date in: header type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header type: string required: false securityDefinitions: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 security: - hmac: [] paths: /: post: operationId: AddAttributesToFindings description: Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings. responses: '200': description: Success schema: $ref: '#/definitions/AddAttributesToFindingsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '484': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/AddAttributesToFindingsRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#CreateAssessmentTarget': post: operationId: CreateAssessmentTarget description: 'Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target. If the service-linked role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access to AWS Services needed to perform security assessments. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector Assessment Targets.' responses: '200': description: Success schema: $ref: '#/definitions/CreateAssessmentTargetResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: LimitExceededException schema: $ref: '#/definitions/LimitExceededException' '483': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '484': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '485': description: InvalidCrossAccountRoleException schema: $ref: '#/definitions/InvalidCrossAccountRoleException' '486': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/CreateAssessmentTargetRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#CreateAssessmentTemplate': post: operationId: CreateAssessmentTemplate description: 'Creates an assessment template for the assessment target that is specified by the ARN of the assessment target. If the service-linked role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access to AWS Services needed to perform security assessments.' responses: '200': description: Success schema: $ref: '#/definitions/CreateAssessmentTemplateResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: LimitExceededException schema: $ref: '#/definitions/LimitExceededException' '483': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '484': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '485': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/CreateAssessmentTemplateRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#CreateExclusionsPreview': post: operationId: CreateExclusionsPreview description: 'Starts the generation of an exclusions preview for the specified assessment template. The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector can detect before it runs the assessment. ' responses: '200': description: Success schema: $ref: '#/definitions/CreateExclusionsPreviewResponse' '480': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '481': description: PreviewGenerationInProgressException schema: $ref: '#/definitions/PreviewGenerationInProgressException' '482': description: InternalException schema: $ref: '#/definitions/InternalException' '483': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '484': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '485': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/CreateExclusionsPreviewRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#CreateResourceGroup': post: operationId: CreateResourceGroup description: 'Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget.' responses: '200': description: Success schema: $ref: '#/definitions/CreateResourceGroupResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: LimitExceededException schema: $ref: '#/definitions/LimitExceededException' '483': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '484': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/CreateResourceGroupRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#DeleteAssessmentRun': post: operationId: DeleteAssessmentRun description: Deletes the assessment run that is specified by the ARN of the assessment run. responses: '200': description: Success '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AssessmentRunInProgressException schema: $ref: '#/definitions/AssessmentRunInProgressException' '483': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '484': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '485': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/DeleteAssessmentRunRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#DeleteAssessmentTarget': post: operationId: DeleteAssessmentTarget description: Deletes the assessment target that is specified by the ARN of the assessment target. responses: '200': description: Success '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AssessmentRunInProgressException schema: $ref: '#/definitions/AssessmentRunInProgressException' '483': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '484': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '485': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/DeleteAssessmentTargetRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#DeleteAssessmentTemplate': post: operationId: DeleteAssessmentTemplate description: Deletes the assessment template that is specified by the ARN of the assessment template. responses: '200': description: Success '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AssessmentRunInProgressException schema: $ref: '#/definitions/AssessmentRunInProgressException' '483': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '484': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '485': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/DeleteAssessmentTemplateRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#DescribeAssessmentRuns': post: operationId: DescribeAssessmentRuns description: Describes the assessment runs that are specified by the ARNs of the assessment runs. responses: '200': description: Success schema: $ref: '#/definitions/DescribeAssessmentRunsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/DescribeAssessmentRunsRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#DescribeAssessmentTargets': post: operationId: DescribeAssessmentTargets description: Describes the assessment targets that are specified by the ARNs of the assessment targets. responses: '200': description: Success schema: $ref: '#/definitions/DescribeAssessmentTargetsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/DescribeAssessmentTargetsRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#DescribeAssessmentTemplates': post: operationId: DescribeAssessmentTemplates description: Describes the assessment templates that are specified by the ARNs of the assessment templates. responses: '200': description: Success schema: $ref: '#/definitions/DescribeAssessmentTemplatesResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/DescribeAssessmentTemplatesRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#DescribeCrossAccountAccessRole': post: operationId: DescribeCrossAccountAccessRole description: Describes the IAM role that enables Amazon Inspector to access your AWS account. responses: '200': description: Success schema: $ref: '#/definitions/DescribeCrossAccountAccessRoleResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#DescribeExclusions': post: operationId: DescribeExclusions description: Describes the exclusions that are specified by the exclusions' ARNs. responses: '200': description: Success schema: $ref: '#/definitions/DescribeExclusionsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/DescribeExclusionsRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#DescribeFindings': post: operationId: DescribeFindings description: Describes the findings that are specified by the ARNs of the findings. responses: '200': description: Success schema: $ref: '#/definitions/DescribeFindingsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/DescribeFindingsRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#DescribeResourceGroups': post: operationId: DescribeResourceGroups description: Describes the resource groups that are specified by the ARNs of the resource groups. responses: '200': description: Success schema: $ref: '#/definitions/DescribeResourceGroupsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/DescribeResourceGroupsRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#DescribeRulesPackages': post: operationId: DescribeRulesPackages description: Describes the rules packages that are specified by the ARNs of the rules packages. responses: '200': description: Success schema: $ref: '#/definitions/DescribeRulesPackagesResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/DescribeRulesPackagesRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#GetAssessmentReport': post: operationId: GetAssessmentReport description: 'Produces an assessment report that includes detailed and comprehensive results of a specified assessment run. ' responses: '200': description: Success schema: $ref: '#/definitions/GetAssessmentReportResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '484': description: AssessmentRunInProgressException schema: $ref: '#/definitions/AssessmentRunInProgressException' '485': description: UnsupportedFeatureException schema: $ref: '#/definitions/UnsupportedFeatureException' '486': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/GetAssessmentReportRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#GetExclusionsPreview': post: operationId: GetExclusionsPreview description: Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by the preview token. You can obtain the preview token by running the CreateExclusionsPreview API. responses: '200': description: Success schema: $ref: '#/definitions/GetExclusionsPreviewResponse' '480': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '481': description: InternalException schema: $ref: '#/definitions/InternalException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/GetExclusionsPreviewRequest' - name: maxResults type: string in: query description: Pagination limit required: false - name: nextToken type: string in: query description: Pagination token required: false parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#GetTelemetryMetadata': post: operationId: GetTelemetryMetadata description: Information about the data that is collected for the specified assessment run. responses: '200': description: Success schema: $ref: '#/definitions/GetTelemetryMetadataResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/GetTelemetryMetadataRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#ListAssessmentRunAgents': post: operationId: ListAssessmentRunAgents description: Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs. responses: '200': description: Success schema: $ref: '#/definitions/ListAssessmentRunAgentsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/ListAssessmentRunAgentsRequest' - name: maxResults type: string in: query description: Pagination limit required: false - name: nextToken type: string in: query description: Pagination token required: false parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#ListAssessmentRuns': post: operationId: ListAssessmentRuns description: Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates. responses: '200': description: Success schema: $ref: '#/definitions/ListAssessmentRunsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/ListAssessmentRunsRequest' - name: maxResults type: string in: query description: Pagination limit required: false - name: nextToken type: string in: query description: Pagination token required: false parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#ListAssessmentTargets': post: operationId: ListAssessmentTargets description: 'Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.' responses: '200': description: Success schema: $ref: '#/definitions/ListAssessmentTargetsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/ListAssessmentTargetsRequest' - name: maxResults type: string in: query description: Pagination limit required: false - name: nextToken type: string in: query description: Pagination token required: false parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#ListAssessmentTemplates': post: operationId: ListAssessmentTemplates description: Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets. responses: '200': description: Success schema: $ref: '#/definitions/ListAssessmentTemplatesResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/ListAssessmentTemplatesRequest' - name: maxResults type: string in: query description: Pagination limit required: false - name: nextToken type: string in: query description: Pagination token required: false parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#ListEventSubscriptions': post: operationId: ListEventSubscriptions description: 'Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.' responses: '200': description: Success schema: $ref: '#/definitions/ListEventSubscriptionsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/ListEventSubscriptionsRequest' - name: maxResults type: string in: query description: Pagination limit required: false - name: nextToken type: string in: query description: Pagination token required: false parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#ListExclusions': post: operationId: ListExclusions description: List exclusions that are generated by the assessment run. responses: '200': description: Success schema: $ref: '#/definitions/ListExclusionsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/ListExclusionsRequest' - name: maxResults type: string in: query description: Pagination limit required: false - name: nextToken type: string in: query description: Pagination token required: false parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#ListFindings': post: operationId: ListFindings description: Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs. responses: '200': description: Success schema: $ref: '#/definitions/ListFindingsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/ListFindingsRequest' - name: maxResults type: string in: query description: Pagination limit required: false - name: nextToken type: string in: query description: Pagination token required: false parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#ListRulesPackages': post: operationId: ListRulesPackages description: Lists all available Amazon Inspector rules packages. responses: '200': description: Success schema: $ref: '#/definitions/ListRulesPackagesResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/ListRulesPackagesRequest' - name: maxResults type: string in: query description: Pagination limit required: false - name: nextToken type: string in: query description: Pagination token required: false parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#ListTagsForResource': post: operationId: ListTagsForResource description: Lists all tags associated with an assessment template. responses: '200': description: Success schema: $ref: '#/definitions/ListTagsForResourceResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/ListTagsForResourceRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#PreviewAgents': post: operationId: PreviewAgents description: Previews the agents installed on the EC2 instances that are part of the specified assessment target. responses: '200': description: Success schema: $ref: '#/definitions/PreviewAgentsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '484': description: InvalidCrossAccountRoleException schema: $ref: '#/definitions/InvalidCrossAccountRoleException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/PreviewAgentsRequest' - name: maxResults type: string in: query description: Pagination limit required: false - name: nextToken type: string in: query description: Pagination token required: false parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#RegisterCrossAccountAccessRole': post: operationId: RegisterCrossAccountAccessRole description: Registers the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments. responses: '200': description: Success '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: InvalidCrossAccountRoleException schema: $ref: '#/definitions/InvalidCrossAccountRoleException' '484': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/RegisterCrossAccountAccessRoleRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#RemoveAttributesFromFindings': post: operationId: RemoveAttributesFromFindings description: Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists. responses: '200': description: Success schema: $ref: '#/definitions/RemoveAttributesFromFindingsResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '484': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/RemoveAttributesFromFindingsRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#SetTagsForResource': post: operationId: SetTagsForResource description: Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template. responses: '200': description: Success '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '484': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/SetTagsForResourceRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#StartAssessmentRun': post: operationId: StartAssessmentRun description: 'Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.' responses: '200': description: Success schema: $ref: '#/definitions/StartAssessmentRunResponse' '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: LimitExceededException schema: $ref: '#/definitions/LimitExceededException' '483': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '484': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '485': description: InvalidCrossAccountRoleException schema: $ref: '#/definitions/InvalidCrossAccountRoleException' '486': description: AgentsAlreadyRunningAssessmentException schema: $ref: '#/definitions/AgentsAlreadyRunningAssessmentException' '487': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/StartAssessmentRunRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#StopAssessmentRun': post: operationId: StopAssessmentRun description: Stops the assessment run that is specified by the ARN of the assessment run. responses: '200': description: Success '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '484': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/StopAssessmentRunRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#SubscribeToEvent': post: operationId: SubscribeToEvent description: Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic. responses: '200': description: Success '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: LimitExceededException schema: $ref: '#/definitions/LimitExceededException' '483': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '484': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '485': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/SubscribeToEventRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#UnsubscribeFromEvent': post: operationId: UnsubscribeFromEvent description: Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic. responses: '200': description: Success '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '484': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/UnsubscribeFromEventRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' '/#UpdateAssessmentTarget': post: operationId: UpdateAssessmentTarget description: '

Updates the assessment target that is specified by the ARN of the assessment target.

If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.

' responses: '200': description: Success '480': description: InternalException schema: $ref: '#/definitions/InternalException' '481': description: InvalidInputException schema: $ref: '#/definitions/InvalidInputException' '482': description: AccessDeniedException schema: $ref: '#/definitions/AccessDeniedException' '483': description: NoSuchEntityException schema: $ref: '#/definitions/NoSuchEntityException' '484': description: ServiceTemporarilyUnavailableException schema: $ref: '#/definitions/ServiceTemporarilyUnavailableException' parameters: - name: body in: body required: true schema: $ref: '#/definitions/UpdateAssessmentTargetRequest' parameters: - $ref: '#/parameters/Action' - $ref: '#/parameters/Version' - $ref: '#/parameters/X-Amz-Content-Sha256' - $ref: '#/parameters/X-Amz-Date' - $ref: '#/parameters/X-Amz-Algorithm' - $ref: '#/parameters/X-Amz-Credential' - $ref: '#/parameters/X-Amz-Security-Token' - $ref: '#/parameters/X-Amz-Signature' - $ref: '#/parameters/X-Amz-SignedHeaders' definitions: AddAttributesToFindingsResponse: type: object required: - failedItems example: failedItems: {} properties: failedItems: $ref: '#/definitions/FailedItems' description: Attribute details that cannot be described. An error code is provided for each failed item. AddAttributesToFindingsRequest: type: object required: - findingArns - attributes example: attributes: - key: Example value: example findingArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z02cjjug/finding/0-T8yM9mEU' properties: findingArns: $ref: '#/definitions/AddRemoveAttributesFindingArnList' description: The ARNs that specify the findings that you want to assign attributes to. attributes: $ref: '#/definitions/UserAttributeList' description: The array of attributes that you want to assign to specified findings. InternalException: {} InvalidInputException: {} AccessDeniedException: {} NoSuchEntityException: {} ServiceTemporarilyUnavailableException: {} CreateAssessmentTargetResponse: type: object required: - assessmentTargetArn example: assessmentTargetArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX' properties: assessmentTargetArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment target that is created. CreateAssessmentTargetRequest: type: object required: - assessmentTargetName example: assessmentTargetName: ExampleAssessmentTarget resourceGroupArn: 'arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-AB6DMKnv' properties: assessmentTargetName: $ref: '#/definitions/AssessmentTargetName' description: The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account. resourceGroupArn: $ref: '#/definitions/Arn' description: 'The ARN that specifies the resource group that is used to create the assessment target. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.' LimitExceededException: {} InvalidCrossAccountRoleException: {} CreateAssessmentTemplateResponse: type: object required: - assessmentTemplateArn example: assessmentTemplateArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T' properties: assessmentTemplateArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment template that is created. CreateAssessmentTemplateRequest: type: object required: - assessmentTargetArn - assessmentTemplateName - durationInSeconds - rulesPackageArns example: assessmentTargetArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX' assessmentTemplateName: ExampleAssessmentTemplate durationInSeconds: 180 rulesPackageArns: - 'arn:aws:inspector:us-west-2:758058086616:rulespackage/0-11B9DBXp' userAttributesForFindings: - key: Example value: example properties: assessmentTargetArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment target for which you want to create the assessment template. assessmentTemplateName: $ref: '#/definitions/AssessmentTemplateName' description: The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique. durationInSeconds: $ref: '#/definitions/AssessmentRunDuration' description: The duration of the assessment run in seconds. rulesPackageArns: $ref: '#/definitions/AssessmentTemplateRulesPackageArnList' description: The ARNs that specify the rules packages that you want to attach to the assessment template. userAttributesForFindings: $ref: '#/definitions/UserAttributeList' description: 'The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. An attribute is a key and value pair (an Attribute object). Within an assessment template, each key must be unique.' CreateExclusionsPreviewResponse: type: object required: - previewToken properties: previewToken: $ref: '#/definitions/UUID' description: Specifies the unique identifier of the requested exclusions preview. You can use the unique identifier to retrieve the exclusions preview when running the GetExclusionsPreview API. CreateExclusionsPreviewRequest: type: object required: - assessmentTemplateArn properties: assessmentTemplateArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment template for which you want to create an exclusions preview. PreviewGenerationInProgressException: {} CreateResourceGroupResponse: type: object required: - resourceGroupArn example: resourceGroupArn: 'arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-AB6DMKnv' properties: resourceGroupArn: $ref: '#/definitions/Arn' description: The ARN that specifies the resource group that is created. CreateResourceGroupRequest: type: object required: - resourceGroupTags example: resourceGroupTags: - key: Name value: example properties: resourceGroupTags: $ref: '#/definitions/ResourceGroupTags' description: '

A collection of keys and an array of possible values, ''[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]''.

For example,''[{"key":"Name","values":["TestEC2Instance"]}]''.

' DeleteAssessmentRunRequest: type: object required: - assessmentRunArn example: assessmentRunArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-11LMTAVe' properties: assessmentRunArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment run that you want to delete. AssessmentRunInProgressException: {} DeleteAssessmentTargetRequest: type: object required: - assessmentTargetArn example: assessmentTargetArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq' properties: assessmentTargetArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment target that you want to delete. DeleteAssessmentTemplateRequest: type: object required: - assessmentTemplateArn example: assessmentTemplateArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T' properties: assessmentTemplateArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment template that you want to delete. DescribeAssessmentRunsResponse: type: object required: - assessmentRuns - failedItems example: assessmentRuns: - name: Run 1 for ExampleAssessmentTemplate arn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE' assessmentTemplateArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw' completedAt: '1458680301.4' createdAt: '1458680170.035' dataCollected: true durationInSeconds: 3600 findingCounts: High: 14 Informational: 0 Low: 0 Medium: 2 Undefined: 0 notifications: [] rulesPackageArns: - 'arn:aws:inspector:us-west-2:758058086616:rulespackage/0-X1KXtawP' startedAt: '1458680170.161' state: COMPLETED stateChangedAt: '1458680301.4' stateChanges: - state: CREATED stateChangedAt: '1458680170.035' - state: START_DATA_COLLECTION_PENDING stateChangedAt: '1458680170.065' - state: START_DATA_COLLECTION_IN_PROGRESS stateChangedAt: '1458680170.096' - state: COLLECTING_DATA stateChangedAt: '1458680170.161' - state: STOP_DATA_COLLECTION_PENDING stateChangedAt: '1458680239.883' - state: DATA_COLLECTED stateChangedAt: '1458680299.847' - state: EVALUATING_RULES stateChangedAt: '1458680300.099' - state: COMPLETED stateChangedAt: '1458680301.4' userAttributesForFindings: [] failedItems: {} properties: assessmentRuns: $ref: '#/definitions/AssessmentRunList' description: Information about the assessment run. failedItems: $ref: '#/definitions/FailedItems' description: Assessment run details that cannot be described. An error code is provided for each failed item. DescribeAssessmentRunsRequest: type: object required: - assessmentRunArns example: assessmentRunArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE' properties: assessmentRunArns: $ref: '#/definitions/BatchDescribeArnList' description: The ARN that specifies the assessment run that you want to describe. DescribeAssessmentTargetsResponse: type: object required: - assessmentTargets - failedItems example: assessmentTargets: - name: ExampleAssessmentTarget arn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq' createdAt: '1458074191.459' resourceGroupArn: 'arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-PyGXopAI' updatedAt: '1458074191.459' failedItems: {} properties: assessmentTargets: $ref: '#/definitions/AssessmentTargetList' description: Information about the assessment targets. failedItems: $ref: '#/definitions/FailedItems' description: Assessment target details that cannot be described. An error code is provided for each failed item. DescribeAssessmentTargetsRequest: type: object required: - assessmentTargetArns example: assessmentTargetArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq' properties: assessmentTargetArns: $ref: '#/definitions/BatchDescribeArnList' description: The ARNs that specifies the assessment targets that you want to describe. DescribeAssessmentTemplatesResponse: type: object required: - assessmentTemplates - failedItems example: assessmentTemplates: - name: ExampleAssessmentTemplate arn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw' assessmentRunCount: 0 assessmentTargetArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq' createdAt: '1458074191.844' durationInSeconds: 3600 rulesPackageArns: - 'arn:aws:inspector:us-west-2:758058086616:rulespackage/0-X1KXtawP' userAttributesForFindings: [] failedItems: {} properties: assessmentTemplates: $ref: '#/definitions/AssessmentTemplateList' description: Information about the assessment templates. failedItems: $ref: '#/definitions/FailedItems' description: Assessment template details that cannot be described. An error code is provided for each failed item. DescribeAssessmentTemplatesRequest: type: object required: - assessmentTemplateArns example: assessmentTemplateArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw' properties: assessmentTemplateArns: $ref: '#/definitions/BatchDescribeArnList' DescribeCrossAccountAccessRoleResponse: type: object required: - roleArn - valid - registeredAt example: registeredAt: '1458069182.826' roleArn: 'arn:aws:iam::123456789012:role/inspector' valid: true properties: roleArn: $ref: '#/definitions/Arn' description: The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account. valid: $ref: '#/definitions/Bool' description: A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account. registeredAt: $ref: '#/definitions/Timestamp' description: The date when the cross-account access role was registered. DescribeExclusionsResponse: type: object required: - exclusions - failedItems properties: exclusions: $ref: '#/definitions/ExclusionMap' description: Information about the exclusions. failedItems: $ref: '#/definitions/FailedItems' description: Exclusion details that cannot be described. An error code is provided for each failed item. DescribeExclusionsRequest: type: object required: - exclusionArns properties: exclusionArns: $ref: '#/definitions/BatchDescribeExclusionsArnList' description: The list of ARNs that specify the exclusions that you want to describe. locale: $ref: '#/definitions/Locale' description: 'The locale into which you want to translate the exclusion''s title, description, and recommendation.' DescribeFindingsResponse: type: object required: - findings - failedItems example: failedItems: {} findings: - arn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE/finding/0-HwPnsDm4' assetAttributes: ipv4Addresses: [] schemaVersion: 1 assetType: ec2-instance attributes: [] confidence: 10 createdAt: '1458680301.37' description: Amazon Inspector did not find any potential security issues during this assessment. indicatorOfCompromise: false numericSeverity: 0 recommendation: No remediation needed. schemaVersion: 1 service: Inspector serviceAttributes: assessmentRunArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE' rulesPackageArn: 'arn:aws:inspector:us-west-2:758058086616:rulespackage/0-X1KXtawP' schemaVersion: 1 severity: Informational title: No potential security issues found updatedAt: '1458680301.37' userAttributes: [] properties: findings: $ref: '#/definitions/FindingList' description: Information about the finding. failedItems: $ref: '#/definitions/FailedItems' description: Finding details that cannot be described. An error code is provided for each failed item. DescribeFindingsRequest: type: object required: - findingArns example: findingArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE/finding/0-HwPnsDm4' properties: findingArns: $ref: '#/definitions/BatchDescribeArnList' description: The ARN that specifies the finding that you want to describe. locale: $ref: '#/definitions/Locale' description: 'The locale into which you want to translate a finding description, recommendation, and the short description that identifies the finding.' DescribeResourceGroupsResponse: type: object required: - resourceGroups - failedItems example: failedItems: {} resourceGroups: - arn: 'arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-PyGXopAI' createdAt: '1458074191.098' tags: - key: Name value: example properties: resourceGroups: $ref: '#/definitions/ResourceGroupList' description: Information about a resource group. failedItems: $ref: '#/definitions/FailedItems' description: Resource group details that cannot be described. An error code is provided for each failed item. DescribeResourceGroupsRequest: type: object required: - resourceGroupArns example: resourceGroupArns: - 'arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-PyGXopAI' properties: resourceGroupArns: $ref: '#/definitions/BatchDescribeArnList' description: The ARN that specifies the resource group that you want to describe. DescribeRulesPackagesResponse: type: object required: - rulesPackages - failedItems example: failedItems: {} rulesPackages: - version: '1.1' name: Security Best Practices arn: 'arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ' description: The rules in this package help determine whether your systems are configured securely. provider: 'Amazon Web Services, Inc.' properties: rulesPackages: $ref: '#/definitions/RulesPackageList' description: Information about the rules package. failedItems: $ref: '#/definitions/FailedItems' description: Rules package details that cannot be described. An error code is provided for each failed item. DescribeRulesPackagesRequest: type: object required: - rulesPackageArns example: rulesPackageArns: - 'arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ' properties: rulesPackageArns: $ref: '#/definitions/BatchDescribeArnList' description: The ARN that specifies the rules package that you want to describe. locale: $ref: '#/definitions/Locale' description: The locale that you want to translate a rules package description into. GetAssessmentReportResponse: type: object required: - status properties: status: $ref: '#/definitions/ReportStatus' description: 'Specifies the status of the request to generate an assessment report. ' url: $ref: '#/definitions/Url' description: Specifies the URL where you can find the generated assessment report. This parameter is only returned if the report is successfully generated. GetAssessmentReportRequest: type: object required: - assessmentRunArn - reportFileFormat - reportType properties: assessmentRunArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment run for which you want to generate a report. reportFileFormat: $ref: '#/definitions/ReportFileFormat' description: Specifies the file format (html or pdf) of the assessment report that you want to generate. reportType: $ref: '#/definitions/ReportType' description: 'Specifies the type of the assessment report that you want to generate. There are two types of assessment reports: a finding report and a full report. For more information, see Assessment Reports. ' UnsupportedFeatureException: {} GetExclusionsPreviewResponse: type: object required: - previewStatus properties: previewStatus: $ref: '#/definitions/PreviewStatus' description: Specifies the status of the request to generate an exclusions preview. exclusionPreviews: $ref: '#/definitions/ExclusionPreviewList' description: Information about the exclusions included in the preview. nextToken: $ref: '#/definitions/PaginationToken' description: 'When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.' GetExclusionsPreviewRequest: type: object required: - assessmentTemplateArn - previewToken properties: assessmentTemplateArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment template for which the exclusions preview was requested. previewToken: $ref: '#/definitions/UUID' description: The unique identifier associated of the exclusions preview. nextToken: $ref: '#/definitions/PaginationToken' description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the GetExclusionsPreviewRequest action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data. maxResults: $ref: '#/definitions/ListMaxResults' description: You can use this parameter to indicate the maximum number of items you want in the response. The default value is 100. The maximum value is 500. locale: $ref: '#/definitions/Locale' description: 'The locale into which you want to translate the exclusion''s title, description, and recommendation.' GetTelemetryMetadataResponse: type: object required: - telemetryMetadata example: telemetryMetadata: - count: 2 dataSize: 345 messageType: InspectorDuplicateProcess - count: 3 dataSize: 255 messageType: InspectorTimeEventMsg - count: 4 dataSize: 1082 messageType: InspectorNetworkInterface - count: 2 dataSize: 349 messageType: InspectorDnsEntry - count: 11 dataSize: 2514 messageType: InspectorDirectoryInfoMsg - count: 1 dataSize: 179 messageType: InspectorTcpV6ListeningPort - count: 101 dataSize: 10949 messageType: InspectorTerminal - count: 26 dataSize: 5916 messageType: InspectorUser - count: 282 dataSize: 32148 messageType: InspectorDynamicallyLoadedCodeModule - count: 18 dataSize: 10172 messageType: InspectorCreateProcess - count: 3 dataSize: 8001 messageType: InspectorProcessPerformance - count: 1 dataSize: 360 messageType: InspectorOperatingSystem - count: 6 dataSize: 546 messageType: InspectorStopProcess - count: 1 dataSize: 1553 messageType: InspectorInstanceMetaData - count: 2 dataSize: 434 messageType: InspectorTcpV4Connection - count: 474 dataSize: 2960322 messageType: InspectorPackageInfo - count: 3 dataSize: 2235 messageType: InspectorSystemPerformance - count: 105 dataSize: 46048 messageType: InspectorCodeModule - count: 1 dataSize: 182 messageType: InspectorUdpV6ListeningPort - count: 2 dataSize: 371 messageType: InspectorUdpV4ListeningPort - count: 18 dataSize: 8362 messageType: InspectorKernelModule - count: 29 dataSize: 48788 messageType: InspectorConfigurationInfo - count: 1 dataSize: 79 messageType: InspectorMonitoringStart - count: 5 dataSize: 0 messageType: InspectorSplitMsgBegin - count: 51 dataSize: 4593 messageType: InspectorGroup - count: 1 dataSize: 184 messageType: InspectorTcpV4ListeningPort - count: 1159 dataSize: 3146579 messageType: Total - count: 5 dataSize: 0 messageType: InspectorSplitMsgEnd - count: 1 dataSize: 612 messageType: InspectorLoadImageInProcess properties: telemetryMetadata: $ref: '#/definitions/TelemetryMetadataList' description: Telemetry details. GetTelemetryMetadataRequest: type: object required: - assessmentRunArn example: assessmentRunArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE' properties: assessmentRunArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment run that has the telemetry data that you want to obtain. ListAssessmentRunAgentsResponse: type: object required: - assessmentRunAgents example: assessmentRunAgents: - agentHealth: HEALTHY agentHealthCode: RUNNING agentId: i-49113b93 assessmentRunArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE' telemetryMetadata: - count: 2 dataSize: 345 messageType: InspectorDuplicateProcess - count: 3 dataSize: 255 messageType: InspectorTimeEventMsg - count: 4 dataSize: 1082 messageType: InspectorNetworkInterface - count: 2 dataSize: 349 messageType: InspectorDnsEntry - count: 11 dataSize: 2514 messageType: InspectorDirectoryInfoMsg - count: 1 dataSize: 179 messageType: InspectorTcpV6ListeningPort - count: 101 dataSize: 10949 messageType: InspectorTerminal - count: 26 dataSize: 5916 messageType: InspectorUser - count: 282 dataSize: 32148 messageType: InspectorDynamicallyLoadedCodeModule - count: 18 dataSize: 10172 messageType: InspectorCreateProcess - count: 3 dataSize: 8001 messageType: InspectorProcessPerformance - count: 1 dataSize: 360 messageType: InspectorOperatingSystem - count: 6 dataSize: 546 messageType: InspectorStopProcess - count: 1 dataSize: 1553 messageType: InspectorInstanceMetaData - count: 2 dataSize: 434 messageType: InspectorTcpV4Connection - count: 474 dataSize: 2960322 messageType: InspectorPackageInfo - count: 3 dataSize: 2235 messageType: InspectorSystemPerformance - count: 105 dataSize: 46048 messageType: InspectorCodeModule - count: 1 dataSize: 182 messageType: InspectorUdpV6ListeningPort - count: 2 dataSize: 371 messageType: InspectorUdpV4ListeningPort - count: 18 dataSize: 8362 messageType: InspectorKernelModule - count: 29 dataSize: 48788 messageType: InspectorConfigurationInfo - count: 1 dataSize: 79 messageType: InspectorMonitoringStart - count: 5 dataSize: 0 messageType: InspectorSplitMsgBegin - count: 51 dataSize: 4593 messageType: InspectorGroup - count: 1 dataSize: 184 messageType: InspectorTcpV4ListeningPort - count: 1159 dataSize: 3146579 messageType: Total - count: 5 dataSize: 0 messageType: InspectorSplitMsgEnd - count: 1 dataSize: 612 messageType: InspectorLoadImageInProcess nextToken: '1' properties: assessmentRunAgents: $ref: '#/definitions/AssessmentRunAgentList' description: A list of ARNs that specifies the agents returned by the action. nextToken: $ref: '#/definitions/PaginationToken' description: ' When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.' ListAssessmentRunAgentsRequest: type: object required: - assessmentRunArn example: assessmentRunArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE' maxResults: 123 properties: assessmentRunArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment run whose agents you want to list. filter: $ref: '#/definitions/AgentFilter' description: '

You can use this parameter to specify a subset of data to be included in the action''s response.

For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

' nextToken: $ref: '#/definitions/PaginationToken' description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRunAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. maxResults: $ref: '#/definitions/ListMaxResults' description: You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 10. The maximum value is 500. ListAssessmentRunsResponse: type: object required: - assessmentRunArns example: assessmentRunArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE' - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-v5D6fI3v' nextToken: '1' properties: assessmentRunArns: $ref: '#/definitions/ListReturnedArnList' description: A list of ARNs that specifies the assessment runs that are returned by the action. nextToken: $ref: '#/definitions/PaginationToken' description: ' When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.' ListAssessmentRunsRequest: type: object example: assessmentTemplateArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw' maxResults: 123 properties: assessmentTemplateArns: $ref: '#/definitions/ListParentArnList' description: The ARNs that specify the assessment templates whose assessment runs you want to list. filter: $ref: '#/definitions/AssessmentRunFilter' description: '

You can use this parameter to specify a subset of data to be included in the action''s response.

For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

' nextToken: $ref: '#/definitions/PaginationToken' description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRuns action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. maxResults: $ref: '#/definitions/ListMaxResults' description: You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 10. The maximum value is 500. ListAssessmentTargetsResponse: type: object required: - assessmentTargetArns example: assessmentTargetArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq' nextToken: '1' properties: assessmentTargetArns: $ref: '#/definitions/ListReturnedArnList' description: A list of ARNs that specifies the assessment targets that are returned by the action. nextToken: $ref: '#/definitions/PaginationToken' description: ' When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.' ListAssessmentTargetsRequest: type: object example: maxResults: 123 properties: filter: $ref: '#/definitions/AssessmentTargetFilter' description: '

You can use this parameter to specify a subset of data to be included in the action''s response.

For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

' nextToken: $ref: '#/definitions/PaginationToken' description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTargets action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. maxResults: $ref: '#/definitions/ListMaxResults' description: You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. ListAssessmentTemplatesResponse: type: object required: - assessmentTemplateArns example: assessmentTemplateArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw' - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-Uza6ihLh' nextToken: '1' properties: assessmentTemplateArns: $ref: '#/definitions/ListReturnedArnList' description: A list of ARNs that specifies the assessment templates returned by the action. nextToken: $ref: '#/definitions/PaginationToken' description: ' When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.' ListAssessmentTemplatesRequest: type: object example: assessmentTargetArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq' maxResults: 123 properties: assessmentTargetArns: $ref: '#/definitions/ListParentArnList' description: A list of ARNs that specifies the assessment targets whose assessment templates you want to list. filter: $ref: '#/definitions/AssessmentTemplateFilter' description: '

You can use this parameter to specify a subset of data to be included in the action''s response.

For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

' nextToken: $ref: '#/definitions/PaginationToken' description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTemplates action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. maxResults: $ref: '#/definitions/ListMaxResults' description: You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. ListEventSubscriptionsResponse: type: object required: - subscriptions example: nextToken: '1' subscriptions: - eventSubscriptions: - event: ASSESSMENT_RUN_COMPLETED subscribedAt: '1459455440.867' resourceArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0' topicArn: 'arn:aws:sns:us-west-2:123456789012:exampletopic' properties: subscriptions: $ref: '#/definitions/SubscriptionList' description: Details of the returned event subscriptions. nextToken: $ref: '#/definitions/PaginationToken' description: ' When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.' ListEventSubscriptionsRequest: type: object example: maxResults: 123 resourceArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0' properties: resourceArn: $ref: '#/definitions/Arn' description: The ARN of the assessment template for which you want to list the existing event subscriptions. nextToken: $ref: '#/definitions/PaginationToken' description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListEventSubscriptions action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. maxResults: $ref: '#/definitions/ListEventSubscriptionsMaxResults' description: You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. ListExclusionsResponse: type: object required: - exclusionArns properties: exclusionArns: $ref: '#/definitions/ListReturnedArnList' description: A list of exclusions' ARNs returned by the action. nextToken: $ref: '#/definitions/PaginationToken' description: 'When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.' ListExclusionsRequest: type: object required: - assessmentRunArn properties: assessmentRunArn: $ref: '#/definitions/Arn' description: The ARN of the assessment run that generated the exclusions that you want to list. nextToken: $ref: '#/definitions/PaginationToken' description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListExclusionsRequest action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data. maxResults: $ref: '#/definitions/ListMaxResults' description: You can use this parameter to indicate the maximum number of items you want in the response. The default value is 100. The maximum value is 500. ListFindingsResponse: type: object required: - findingArns example: findingArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE/finding/0-HwPnsDm4' - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-v5D6fI3v/finding/0-tyvmqBLy' nextToken: '1' properties: findingArns: $ref: '#/definitions/ListReturnedArnList' description: A list of ARNs that specifies the findings returned by the action. nextToken: $ref: '#/definitions/PaginationToken' description: ' When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.' ListFindingsRequest: type: object example: assessmentRunArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE' maxResults: 123 properties: assessmentRunArns: $ref: '#/definitions/ListParentArnList' description: The ARNs of the assessment runs that generate the findings that you want to list. filter: $ref: '#/definitions/FindingFilter' description: '

You can use this parameter to specify a subset of data to be included in the action''s response.

For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.

' nextToken: $ref: '#/definitions/PaginationToken' description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. maxResults: $ref: '#/definitions/ListMaxResults' description: You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. ListRulesPackagesResponse: type: object required: - rulesPackageArns example: nextToken: '1' rulesPackageArns: - 'arn:aws:inspector:us-west-2:758058086616:rulespackage/0-9hgA516p' - 'arn:aws:inspector:us-west-2:758058086616:rulespackage/0-H5hpSawc' - 'arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ' - 'arn:aws:inspector:us-west-2:758058086616:rulespackage/0-vg5GGHSD' properties: rulesPackageArns: $ref: '#/definitions/ListReturnedArnList' description: The list of ARNs that specifies the rules packages returned by the action. nextToken: $ref: '#/definitions/PaginationToken' description: ' When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.' ListRulesPackagesRequest: type: object example: maxResults: 123 properties: nextToken: $ref: '#/definitions/PaginationToken' description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListRulesPackages action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. maxResults: $ref: '#/definitions/ListMaxResults' description: You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. ListTagsForResourceResponse: type: object required: - tags example: tags: - key: Name value: Example properties: tags: $ref: '#/definitions/TagList' description: A collection of key and value pairs. ListTagsForResourceRequest: type: object required: - resourceArn example: resourceArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-gcwFliYu' properties: resourceArn: $ref: '#/definitions/Arn' description: The ARN that specifies the assessment template whose tags you want to list. PreviewAgentsResponse: type: object required: - agentPreviews example: agentPreviews: - agentId: i-49113b93 nextToken: '1' properties: agentPreviews: $ref: '#/definitions/AgentPreviewList' description: The resulting list of agents. nextToken: $ref: '#/definitions/PaginationToken' description: ' When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.' PreviewAgentsRequest: type: object required: - previewAgentsArn example: maxResults: 123 previewAgentsArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq' properties: previewAgentsArn: $ref: '#/definitions/Arn' description: The ARN of the assessment target whose agents you want to preview. nextToken: $ref: '#/definitions/PaginationToken' description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data. maxResults: $ref: '#/definitions/PreviewAgentsMaxResults' description: You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. RegisterCrossAccountAccessRoleRequest: type: object required: - roleArn example: roleArn: 'arn:aws:iam::123456789012:role/inspector' properties: roleArn: $ref: '#/definitions/Arn' description: 'The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments. ' RemoveAttributesFromFindingsResponse: type: object required: - failedItems example: failedItems: {} properties: failedItems: $ref: '#/definitions/FailedItems' description: Attributes details that cannot be described. An error code is provided for each failed item. RemoveAttributesFromFindingsRequest: type: object required: - findingArns - attributeKeys example: attributeKeys: - 'key=Example,value=example' findingArns: - 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z02cjjug/finding/0-T8yM9mEU' properties: findingArns: $ref: '#/definitions/AddRemoveAttributesFindingArnList' description: The ARNs that specify the findings that you want to remove attributes from. attributeKeys: $ref: '#/definitions/UserAttributeKeyList' description: The array of attribute keys that you want to remove from specified findings. SetTagsForResourceRequest: type: object required: - resourceArn example: resourceArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0' tags: - key: Example value: example properties: resourceArn: $ref: '#/definitions/Arn' description: The ARN of the assessment template that you want to set tags to. tags: $ref: '#/definitions/TagList' description: A collection of key and value pairs that you want to set to the assessment template. StartAssessmentRunResponse: type: object required: - assessmentRunArn example: assessmentRunArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-jOoroxyY' properties: assessmentRunArn: $ref: '#/definitions/Arn' description: The ARN of the assessment run that has been started. StartAssessmentRunRequest: type: object required: - assessmentTemplateArn example: assessmentRunName: examplerun assessmentTemplateArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T' properties: assessmentTemplateArn: $ref: '#/definitions/Arn' description: The ARN of the assessment template of the assessment run that you want to start. assessmentRunName: $ref: '#/definitions/AssessmentRunName' description: You can specify the name for the assessment run. The name must be unique for the assessment template whose ARN is used to start the assessment run. AgentsAlreadyRunningAssessmentException: {} StopAssessmentRunRequest: type: object required: - assessmentRunArn example: assessmentRunArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-11LMTAVe' properties: assessmentRunArn: $ref: '#/definitions/Arn' description: The ARN of the assessment run that you want to stop. stopAction: $ref: '#/definitions/StopAction' description: 'An input option that can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated.' SubscribeToEventRequest: type: object required: - resourceArn - event - topicArn example: event: ASSESSMENT_RUN_COMPLETED resourceArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0' topicArn: 'arn:aws:sns:us-west-2:123456789012:exampletopic' properties: resourceArn: $ref: '#/definitions/Arn' description: The ARN of the assessment template that is used during the event for which you want to receive SNS notifications. event: $ref: '#/definitions/InspectorEvent' description: The event for which you want to receive SNS notifications. topicArn: $ref: '#/definitions/Arn' description: The ARN of the SNS topic to which the SNS notifications are sent. UnsubscribeFromEventRequest: type: object required: - resourceArn - event - topicArn example: event: ASSESSMENT_RUN_COMPLETED resourceArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0' topicArn: 'arn:aws:sns:us-west-2:123456789012:exampletopic' properties: resourceArn: $ref: '#/definitions/Arn' description: The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications. event: $ref: '#/definitions/InspectorEvent' description: The event for which you want to stop receiving SNS notifications. topicArn: $ref: '#/definitions/Arn' description: The ARN of the SNS topic to which SNS notifications are sent. UpdateAssessmentTargetRequest: type: object required: - assessmentTargetArn - assessmentTargetName example: assessmentTargetArn: 'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX' assessmentTargetName: Example resourceGroupArn: 'arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-yNbgL5Pt' properties: assessmentTargetArn: $ref: '#/definitions/Arn' description: The ARN of the assessment target that you want to update. assessmentTargetName: $ref: '#/definitions/AssessmentTargetName' description: The name of the assessment target that you want to update. resourceGroupArn: $ref: '#/definitions/Arn' description: The ARN of the resource group that is used to specify the new resource group to associate with the assessment target. AddRemoveAttributesFindingArnList: type: array items: $ref: '#/definitions/Arn' minItems: 1 maxItems: 10 UserAttributeList: type: array items: $ref: '#/definitions/Attribute' minItems: 0 maxItems: 10 FailedItems: type: array items: type: object properties: key: $ref: '#/definitions/Arn' value: $ref: '#/definitions/FailedItemDetails' Arn: type: string minLength: 1 maxLength: 300 AgentHealthList: type: array items: $ref: '#/definitions/AgentHealth' minItems: 0 maxItems: 10 AgentHealthCodeList: type: array items: $ref: '#/definitions/AgentHealthCode' minItems: 0 maxItems: 10 AgentFilter: type: object required: - agentHealths - agentHealthCodes properties: agentHealths: $ref: '#/definitions/AgentHealthList' description: The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY. agentHealthCodes: $ref: '#/definitions/AgentHealthCodeList' description: 'The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN. ' description: Contains information about an Amazon Inspector agent. This data type is used as a request parameter in the ListAssessmentRunAgents action. AgentHealth: type: string enum: - HEALTHY - UNHEALTHY - UNKNOWN AgentHealthCode: type: string enum: - IDLE - RUNNING - SHUTDOWN - UNHEALTHY - THROTTLED - UNKNOWN AgentId: type: string minLength: 1 maxLength: 128 AgentIdList: type: array items: $ref: '#/definitions/AgentId' minItems: 0 maxItems: 500 Hostname: type: string minLength: 0 maxLength: 256 AutoScalingGroup: type: string minLength: 1 maxLength: 256 AgentVersion: type: string minLength: 1 maxLength: 128 OperatingSystem: type: string minLength: 1 maxLength: 256 KernelVersion: type: string minLength: 1 maxLength: 128 Ipv4Address: type: string minLength: 7 maxLength: 15 AgentPreview: type: object required: - agentId properties: hostname: $ref: '#/definitions/Hostname' description: The hostname of the EC2 instance on which the Amazon Inspector Agent is installed. agentId: $ref: '#/definitions/AgentId' description: The ID of the EC2 instance where the agent is installed. autoScalingGroup: $ref: '#/definitions/AutoScalingGroup' description: The Auto Scaling group for the EC2 instance where the agent is installed. agentHealth: $ref: '#/definitions/AgentHealth' description: The health status of the Amazon Inspector Agent. agentVersion: $ref: '#/definitions/AgentVersion' description: The version of the Amazon Inspector Agent. operatingSystem: $ref: '#/definitions/OperatingSystem' description: The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed. kernelVersion: $ref: '#/definitions/KernelVersion' description: The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent is installed. ipv4Address: $ref: '#/definitions/Ipv4Address' description: The IP address of the EC2 instance on which the Amazon Inspector Agent is installed. description: Used as a response element in the PreviewAgents action. AgentPreviewList: type: array items: $ref: '#/definitions/AgentPreview' minItems: 0 maxItems: 100 AmiId: type: string minLength: 0 maxLength: 256 ArnCount: type: integer AssessmentRulesPackageArnList: type: array items: $ref: '#/definitions/Arn' minItems: 1 maxItems: 50 AssessmentRunName: type: string minLength: 1 maxLength: 140 AssessmentRunState: type: string enum: - CREATED - START_DATA_COLLECTION_PENDING - START_DATA_COLLECTION_IN_PROGRESS - COLLECTING_DATA - STOP_DATA_COLLECTION_PENDING - DATA_COLLECTED - START_EVALUATING_RULES_PENDING - EVALUATING_RULES - FAILED - ERROR - COMPLETED - COMPLETED_WITH_ERRORS - CANCELED AssessmentRunDuration: type: integer minimum: 180 maximum: 86400 Timestamp: type: string format: date-time Bool: type: boolean AssessmentRunStateChangeList: type: array items: $ref: '#/definitions/AssessmentRunStateChange' minItems: 0 maxItems: 50 AssessmentRunNotificationList: type: array items: $ref: '#/definitions/AssessmentRunNotification' minItems: 0 maxItems: 50 AssessmentRunFindingCounts: type: array items: type: object properties: key: $ref: '#/definitions/Severity' value: $ref: '#/definitions/FindingCount' AssessmentRun: type: object required: - arn - name - assessmentTemplateArn - state - durationInSeconds - rulesPackageArns - userAttributesForFindings - createdAt - stateChangedAt - dataCollected - stateChanges - notifications - findingCounts properties: arn: $ref: '#/definitions/Arn' description: The ARN of the assessment run. name: $ref: '#/definitions/AssessmentRunName' description: The auto-generated name for the assessment run. assessmentTemplateArn: $ref: '#/definitions/Arn' description: The ARN of the assessment template that is associated with the assessment run. state: $ref: '#/definitions/AssessmentRunState' description: The state of the assessment run. durationInSeconds: $ref: '#/definitions/AssessmentRunDuration' description: The duration of the assessment run. rulesPackageArns: $ref: '#/definitions/AssessmentRulesPackageArnList' description: The rules packages selected for the assessment run. userAttributesForFindings: $ref: '#/definitions/UserAttributeList' description: The user-defined attributes that are assigned to every generated finding. createdAt: $ref: '#/definitions/Timestamp' description: The time when StartAssessmentRun was called. startedAt: $ref: '#/definitions/Timestamp' description: The time when StartAssessmentRun was called. completedAt: $ref: '#/definitions/Timestamp' description: The assessment run completion time that corresponds to the rules packages evaluation completion time or failure. stateChangedAt: $ref: '#/definitions/Timestamp' description: The last time when the assessment run's state changed. dataCollected: $ref: '#/definitions/Bool' description: A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed. stateChanges: $ref: '#/definitions/AssessmentRunStateChangeList' description: A list of the assessment run state changes. notifications: $ref: '#/definitions/AssessmentRunNotificationList' description: A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once. findingCounts: $ref: '#/definitions/AssessmentRunFindingCounts' description: Provides a total count of generated findings per severity. description:

A snapshot of an Amazon Inspector assessment run that contains the findings of the assessment run .

Used as the response element in the DescribeAssessmentRuns action.

Message: type: string minLength: 0 maxLength: 1000 TelemetryMetadataList: type: array items: $ref: '#/definitions/TelemetryMetadata' minItems: 0 maxItems: 5000 AssessmentRunAgent: type: object required: - agentId - assessmentRunArn - agentHealth - agentHealthCode - telemetryMetadata properties: agentId: $ref: '#/definitions/AgentId' description: The AWS account of the EC2 instance where the agent is installed. assessmentRunArn: $ref: '#/definitions/Arn' description: The ARN of the assessment run that is associated with the agent. agentHealth: $ref: '#/definitions/AgentHealth' description: The current health state of the agent. agentHealthCode: $ref: '#/definitions/AgentHealthCode' description: The detailed health state of the agent. agentHealthDetails: $ref: '#/definitions/Message' description: The description for the agent health code. autoScalingGroup: $ref: '#/definitions/AutoScalingGroup' description: The Auto Scaling group of the EC2 instance that is specified by the agent ID. telemetryMetadata: $ref: '#/definitions/TelemetryMetadataList' description: The Amazon Inspector application data metrics that are collected by the agent. description: Contains information about an Amazon Inspector agent. This data type is used as a response element in the ListAssessmentRunAgents action. AssessmentRunAgentList: type: array items: $ref: '#/definitions/AssessmentRunAgent' minItems: 0 maxItems: 500 NamePattern: type: string minLength: 1 maxLength: 140 AssessmentRunStateList: type: array items: $ref: '#/definitions/AssessmentRunState' minItems: 0 maxItems: 50 DurationRange: type: object properties: minSeconds: $ref: '#/definitions/AssessmentRunDuration' description: The minimum value of the duration range. Must be greater than zero. maxSeconds: $ref: '#/definitions/AssessmentRunDuration' description: The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week). description: This data type is used in the AssessmentTemplateFilter data type. FilterRulesPackageArnList: type: array items: $ref: '#/definitions/Arn' minItems: 0 maxItems: 50 TimestampRange: type: object properties: beginDate: $ref: '#/definitions/Timestamp' description: The minimum value of the timestamp range. endDate: $ref: '#/definitions/Timestamp' description: The maximum value of the timestamp range. description: This data type is used in the AssessmentRunFilter data type. AssessmentRunFilter: type: object properties: namePattern: $ref: '#/definitions/NamePattern' description: 'For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type.' states: $ref: '#/definitions/AssessmentRunStateList' description: 'For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.' durationRange: $ref: '#/definitions/DurationRange' description: 'For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.' rulesPackageArns: $ref: '#/definitions/FilterRulesPackageArnList' description: 'For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.' startTimeRange: $ref: '#/definitions/TimestampRange' description: 'For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.' completionTimeRange: $ref: '#/definitions/TimestampRange' description: 'For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.' stateChangeTimeRange: $ref: '#/definitions/TimestampRange' description: 'For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.' description: Used as the request parameter in the ListAssessmentRuns action. Severity: type: string enum: - Low - Medium - High - Informational - Undefined FindingCount: type: integer AssessmentRunList: type: array items: $ref: '#/definitions/AssessmentRun' minItems: 0 maxItems: 10 InspectorEvent: type: string enum: - ASSESSMENT_RUN_STARTED - ASSESSMENT_RUN_COMPLETED - ASSESSMENT_RUN_STATE_CHANGED - FINDING_REPORTED - OTHER AssessmentRunNotificationSnsStatusCode: type: string enum: - SUCCESS - TOPIC_DOES_NOT_EXIST - ACCESS_DENIED - INTERNAL_ERROR AssessmentRunNotification: type: object required: - date - event - error properties: date: $ref: '#/definitions/Timestamp' description: The date of the notification. event: $ref: '#/definitions/InspectorEvent' description: The event for which a notification is sent. message: $ref: '#/definitions/Message' description: The message included in the notification. error: $ref: '#/definitions/Bool' description: The Boolean value that specifies whether the notification represents an error. snsTopicArn: $ref: '#/definitions/Arn' description: The SNS topic to which the SNS notification is sent. snsPublishStatusCode: $ref: '#/definitions/AssessmentRunNotificationSnsStatusCode' description: The status code of the SNS notification. description: Used as one of the elements of the AssessmentRun data type. AssessmentRunStateChange: type: object required: - stateChangedAt - state properties: stateChangedAt: $ref: '#/definitions/Timestamp' description: The last time the assessment run state changed. state: $ref: '#/definitions/AssessmentRunState' description: The assessment run state. description: Used as one of the elements of the AssessmentRun data type. AssessmentTargetName: type: string minLength: 1 maxLength: 140 AssessmentTarget: type: object required: - arn - name - createdAt - updatedAt properties: arn: $ref: '#/definitions/Arn' description: The ARN that specifies the Amazon Inspector assessment target. name: $ref: '#/definitions/AssessmentTargetName' description: The name of the Amazon Inspector assessment target. resourceGroupArn: $ref: '#/definitions/Arn' description: The ARN that specifies the resource group that is associated with the assessment target. createdAt: $ref: '#/definitions/Timestamp' description: The time at which the assessment target is created. updatedAt: $ref: '#/definitions/Timestamp' description: The time at which UpdateAssessmentTarget is called. description: Contains information about an Amazon Inspector application. This data type is used as the response element in the DescribeAssessmentTargets action. AssessmentTargetFilter: type: object properties: assessmentTargetNamePattern: $ref: '#/definitions/NamePattern' description: 'For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTargetName property of the AssessmentTarget data type.' description: Used as the request parameter in the ListAssessmentTargets action. AssessmentTargetList: type: array items: $ref: '#/definitions/AssessmentTarget' minItems: 0 maxItems: 10 AssessmentTemplateName: type: string minLength: 1 maxLength: 140 AssessmentTemplateRulesPackageArnList: type: array items: $ref: '#/definitions/Arn' minItems: 0 maxItems: 50 AssessmentTemplate: type: object required: - arn - name - assessmentTargetArn - durationInSeconds - rulesPackageArns - userAttributesForFindings - assessmentRunCount - createdAt properties: arn: $ref: '#/definitions/Arn' description: The ARN of the assessment template. name: $ref: '#/definitions/AssessmentTemplateName' description: The name of the assessment template. assessmentTargetArn: $ref: '#/definitions/Arn' description: The ARN of the assessment target that corresponds to this assessment template. durationInSeconds: $ref: '#/definitions/AssessmentRunDuration' description: The duration in seconds specified for this assessment template. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day). rulesPackageArns: $ref: '#/definitions/AssessmentTemplateRulesPackageArnList' description: The rules packages that are specified for this assessment template. userAttributesForFindings: $ref: '#/definitions/UserAttributeList' description: The user-defined attributes that are assigned to every generated finding from the assessment run that uses this assessment template. lastAssessmentRunArn: $ref: '#/definitions/Arn' description: The Amazon Resource Name (ARN) of the most recent assessment run associated with this assessment template. This value exists only when the value of assessmentRunCount is greaterpa than zero. assessmentRunCount: $ref: '#/definitions/ArnCount' description: The number of existing assessment runs associated with this assessment template. This value can be zero or a positive integer. createdAt: $ref: '#/definitions/Timestamp' description: The time at which the assessment template is created. description: Contains information about an Amazon Inspector assessment template. This data type is used as the response element in the DescribeAssessmentTemplates action. AssessmentTemplateFilter: type: object properties: namePattern: $ref: '#/definitions/NamePattern' description: 'For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTemplateName property of the AssessmentTemplate data type.' durationRange: $ref: '#/definitions/DurationRange' description: 'For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentTemplate data type.' rulesPackageArns: $ref: '#/definitions/FilterRulesPackageArnList' description: 'For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type.' description: Used as the request parameter in the ListAssessmentTemplates action. AssessmentTemplateList: type: array items: $ref: '#/definitions/AssessmentTemplate' minItems: 0 maxItems: 10 NumericVersion: type: integer minimum: 0 Ipv4AddressList: type: array items: $ref: '#/definitions/Ipv4Address' minItems: 0 maxItems: 50 Tags: type: array items: $ref: '#/definitions/Tag' NetworkInterfaces: type: array items: $ref: '#/definitions/NetworkInterface' AssetAttributes: type: object required: - schemaVersion properties: schemaVersion: $ref: '#/definitions/NumericVersion' description: The schema version of this data type. agentId: $ref: '#/definitions/AgentId' description: The ID of the agent that is installed on the EC2 instance where the finding is generated. autoScalingGroup: $ref: '#/definitions/AutoScalingGroup' description: The Auto Scaling group of the EC2 instance where the finding is generated. amiId: $ref: '#/definitions/AmiId' description: The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated. hostname: $ref: '#/definitions/Hostname' description: The hostname of the EC2 instance where the finding is generated. ipv4Addresses: $ref: '#/definitions/Ipv4AddressList' description: The list of IP v4 addresses of the EC2 instance where the finding is generated. tags: $ref: '#/definitions/Tags' description: The tags related to the EC2 instance where the finding is generated. networkInterfaces: $ref: '#/definitions/NetworkInterfaces' description: An array of the network interfaces interacting with the EC2 instance where the finding is generated. description: A collection of attributes of the host from which the finding is generated. AssetType: type: string enum: - ec2-instance AttributeKey: type: string minLength: 1 maxLength: 128 AttributeValue: type: string minLength: 1 maxLength: 256 Attribute: type: object required: - key properties: key: $ref: '#/definitions/AttributeKey' description: The attribute key. value: $ref: '#/definitions/AttributeValue' description: The value assigned to the attribute key. description: This data type is used as a request parameter in the AddAttributesToFindings and CreateAssessmentTemplate actions. AttributeList: type: array items: $ref: '#/definitions/Attribute' minItems: 0 maxItems: 50 AutoScalingGroupList: type: array items: $ref: '#/definitions/AutoScalingGroup' minItems: 0 maxItems: 20 BatchDescribeArnList: type: array items: $ref: '#/definitions/Arn' minItems: 1 maxItems: 10 BatchDescribeExclusionsArnList: type: array items: $ref: '#/definitions/Arn' minItems: 1 maxItems: 100 UUID: type: string pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' ResourceGroupTags: type: array items: $ref: '#/definitions/ResourceGroupTag' minItems: 1 maxItems: 10 Locale: type: string enum: - EN_US ExclusionMap: type: array minItems: 1 maxItems: 100 items: type: object properties: key: $ref: '#/definitions/Arn' value: $ref: '#/definitions/Exclusion' FindingList: type: array items: $ref: '#/definitions/Finding' minItems: 0 maxItems: 100 ResourceGroupList: type: array items: $ref: '#/definitions/ResourceGroup' minItems: 0 maxItems: 10 RulesPackageList: type: array items: $ref: '#/definitions/RulesPackage' minItems: 0 maxItems: 10 EventSubscription: type: object required: - event - subscribedAt properties: event: $ref: '#/definitions/InspectorEvent' description: The event for which Amazon Simple Notification Service (SNS) notifications are sent. subscribedAt: $ref: '#/definitions/Timestamp' description: The time at which SubscribeToEvent is called. description: This data type is used in the Subscription data type. EventSubscriptionList: type: array items: $ref: '#/definitions/EventSubscription' minItems: 1 maxItems: 50 Text: type: string minLength: 0 maxLength: 20000 ScopeList: type: array items: $ref: '#/definitions/Scope' minItems: 1 Exclusion: type: object required: - arn - title - description - recommendation - scopes properties: arn: $ref: '#/definitions/Arn' description: The ARN that specifies the exclusion. title: $ref: '#/definitions/Text' description: The name of the exclusion. description: $ref: '#/definitions/Text' description: The description of the exclusion. recommendation: $ref: '#/definitions/Text' description: The recommendation for the exclusion. scopes: $ref: '#/definitions/ScopeList' description: The AWS resources for which the exclusion pertains. attributes: $ref: '#/definitions/AttributeList' description: The system-defined attributes for the exclusion. description: Contains information about what was excluded from an assessment run. ExclusionPreview: type: object required: - title - description - recommendation - scopes properties: title: $ref: '#/definitions/Text' description: The name of the exclusion preview. description: $ref: '#/definitions/Text' description: The description of the exclusion preview. recommendation: $ref: '#/definitions/Text' description: The recommendation for the exclusion preview. scopes: $ref: '#/definitions/ScopeList' description: The AWS resources for which the exclusion preview pertains. attributes: $ref: '#/definitions/AttributeList' description: The system-defined attributes for the exclusion preview. description: Contains information about what is excluded from an assessment run given the current state of the assessment template. ExclusionPreviewList: type: array items: $ref: '#/definitions/ExclusionPreview' minItems: 0 maxItems: 100 FailedItemErrorCode: type: string enum: - INVALID_ARN - DUPLICATE_ARN - ITEM_DOES_NOT_EXIST - ACCESS_DENIED - LIMIT_EXCEEDED - INTERNAL_ERROR FailedItemDetails: type: object required: - failureCode - retryable properties: failureCode: $ref: '#/definitions/FailedItemErrorCode' description: The status code of a failed item. retryable: $ref: '#/definitions/Bool' description: Indicates whether you can immediately retry a request for this item for a specified resource. description: Includes details about the failed items. ServiceName: type: string minLength: 0 maxLength: 128 InspectorServiceAttributes: type: object required: - schemaVersion properties: schemaVersion: $ref: '#/definitions/NumericVersion' description: The schema version of this data type. assessmentRunArn: $ref: '#/definitions/Arn' description: The ARN of the assessment run during which the finding is generated. rulesPackageArn: $ref: '#/definitions/Arn' description: The ARN of the rules package that is used to generate the finding. description: This data type is used in the Finding data type. FindingId: type: string minLength: 0 maxLength: 128 NumericSeverity: type: number format: double minimum: 0 maximum: 10 IocConfidence: type: integer minimum: 0 maximum: 10 Finding: type: object required: - arn - attributes - userAttributes - createdAt - updatedAt properties: arn: $ref: '#/definitions/Arn' description: The ARN that specifies the finding. schemaVersion: $ref: '#/definitions/NumericVersion' description: The schema version of this data type. service: $ref: '#/definitions/ServiceName' description: The data element is set to "Inspector". serviceAttributes: $ref: '#/definitions/InspectorServiceAttributes' description: This data type is used in the Finding data type. assetType: $ref: '#/definitions/AssetType' description: The type of the host from which the finding is generated. assetAttributes: $ref: '#/definitions/AssetAttributes' description: A collection of attributes of the host from which the finding is generated. id: $ref: '#/definitions/FindingId' description: The ID of the finding. title: $ref: '#/definitions/Text' description: The name of the finding. description: $ref: '#/definitions/Text' description: The description of the finding. recommendation: $ref: '#/definitions/Text' description: The recommendation for the finding. severity: $ref: '#/definitions/Severity' description: 'The finding severity. Values can be set to High, Medium, Low, and Informational.' numericSeverity: $ref: '#/definitions/NumericSeverity' description: The numeric value of the finding severity. confidence: $ref: '#/definitions/IocConfidence' description: This data element is currently not used. indicatorOfCompromise: $ref: '#/definitions/Bool' description: This data element is currently not used. attributes: $ref: '#/definitions/AttributeList' description: The system-defined attributes for the finding. userAttributes: $ref: '#/definitions/UserAttributeList' description: The user-defined attributes that are assigned to the finding. createdAt: $ref: '#/definitions/Timestamp' description: The time when the finding was generated. updatedAt: $ref: '#/definitions/Timestamp' description: The time when AddAttributesToFindings is called. description: Contains information about an Amazon Inspector finding. This data type is used as the response element in the DescribeFindings action. RuleNameList: type: array items: $ref: '#/definitions/RuleName' minItems: 0 maxItems: 50 SeverityList: type: array items: $ref: '#/definitions/Severity' minItems: 0 maxItems: 50 FindingFilter: type: object properties: agentIds: $ref: '#/definitions/AgentIdList' description: 'For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.' autoScalingGroups: $ref: '#/definitions/AutoScalingGroupList' description: 'For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.' ruleNames: $ref: '#/definitions/RuleNameList' description: 'For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.' severities: $ref: '#/definitions/SeverityList' description: 'For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.' rulesPackageArns: $ref: '#/definitions/FilterRulesPackageArnList' description: 'For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.' attributes: $ref: '#/definitions/AttributeList' description: 'For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.' userAttributes: $ref: '#/definitions/AttributeList' description: 'For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.' creationTimeRange: $ref: '#/definitions/TimestampRange' description: The time range during which the finding is generated. description: This data type is used as a request parameter in the ListFindings action. ReportFileFormat: type: string enum: - HTML - PDF ReportType: type: string enum: - FINDING - FULL ReportStatus: type: string enum: - WORK_IN_PROGRESS - FAILED - COMPLETED Url: type: string maxLength: 2048 PaginationToken: type: string minLength: 1 maxLength: 300 ListMaxResults: type: integer PreviewStatus: type: string enum: - WORK_IN_PROGRESS - COMPLETED Ipv6Addresses: type: array items: $ref: '#/definitions/Text' ListParentArnList: type: array items: $ref: '#/definitions/Arn' minItems: 0 maxItems: 50 ListReturnedArnList: type: array items: $ref: '#/definitions/Arn' minItems: 0 maxItems: 100 ListEventSubscriptionsMaxResults: type: integer SubscriptionList: type: array items: $ref: '#/definitions/Subscription' minItems: 0 maxItems: 50 TagList: type: array items: $ref: '#/definitions/Tag' minItems: 0 maxItems: 10 Long: type: integer MessageType: type: string minLength: 1 maxLength: 300 PrivateIpAddresses: type: array items: $ref: '#/definitions/PrivateIp' SecurityGroups: type: array items: $ref: '#/definitions/SecurityGroup' NetworkInterface: type: object properties: networkInterfaceId: $ref: '#/definitions/Text' description: The ID of the network interface. subnetId: $ref: '#/definitions/Text' description: The ID of a subnet associated with the network interface. vpcId: $ref: '#/definitions/Text' description: The ID of a VPC associated with the network interface. privateDnsName: $ref: '#/definitions/Text' description: The name of a private DNS associated with the network interface. privateIpAddress: $ref: '#/definitions/Text' description: The private IP address associated with the network interface. privateIpAddresses: $ref: '#/definitions/PrivateIpAddresses' description: A list of the private IP addresses associated with the network interface. Includes the privateDnsName and privateIpAddress. publicDnsName: $ref: '#/definitions/Text' description: The name of a public DNS associated with the network interface. publicIp: $ref: '#/definitions/Text' description: The public IP address from which the network interface is reachable. ipv6Addresses: $ref: '#/definitions/Ipv6Addresses' description: The IP addresses associated with the network interface. securityGroups: $ref: '#/definitions/SecurityGroups' description: A list of the security groups associated with the network interface. Includes the groupId and groupName. description: Contains information about the network interfaces interacting with an EC2 instance. This data type is used as one of the elements of the AssetAttributes data type. PreviewAgentsMaxResults: type: integer PrivateIp: type: object properties: privateDnsName: $ref: '#/definitions/Text' description: The DNS name of the private IP address. privateIpAddress: $ref: '#/definitions/Text' description: The full IP address of the network inteface. description: Contains information about a private IP address associated with a network interface. This data type is used as a response element in the DescribeFindings action. ProviderName: type: string minLength: 0 maxLength: 1000 UserAttributeKeyList: type: array items: $ref: '#/definitions/AttributeKey' minItems: 0 maxItems: 10 ResourceGroup: type: object required: - arn - tags - createdAt properties: arn: $ref: '#/definitions/Arn' description: The ARN of the resource group. tags: $ref: '#/definitions/ResourceGroupTags' description: The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action. createdAt: $ref: '#/definitions/Timestamp' description: The time at which resource group is created. description: 'Contains information about a resource group. The resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target. This data type is used as the response element in the DescribeResourceGroups action.' TagKey: type: string minLength: 1 maxLength: 128 TagValue: type: string minLength: 1 maxLength: 256 ResourceGroupTag: type: object required: - key properties: key: $ref: '#/definitions/TagKey' description: A tag key. value: $ref: '#/definitions/TagValue' description: The value assigned to a tag key. description: This data type is used as one of the elements of the ResourceGroup data type. RuleName: type: string maxLength: 1000 RulesPackageName: type: string minLength: 0 maxLength: 1000 Version: type: string minLength: 0 maxLength: 1000 RulesPackage: type: object required: - arn - name - version - provider properties: arn: $ref: '#/definitions/Arn' description: The ARN of the rules package. name: $ref: '#/definitions/RulesPackageName' description: The name of the rules package. version: $ref: '#/definitions/Version' description: The version ID of the rules package. provider: $ref: '#/definitions/ProviderName' description: The provider of the rules package. description: $ref: '#/definitions/Text' description: The description of the rules package. description: Contains information about an Amazon Inspector rules package. This data type is used as the response element in the DescribeRulesPackages action. ScopeType: type: string enum: - INSTANCE_ID - RULES_PACKAGE_ARN ScopeValue: type: string Scope: type: object properties: key: $ref: '#/definitions/ScopeType' description: The type of the scope. value: $ref: '#/definitions/ScopeValue' description: The resource identifier for the specified scope type. description: This data type contains key-value pairs that identify various Amazon resources. SecurityGroup: type: object properties: groupName: $ref: '#/definitions/Text' description: The name of the security group. groupId: $ref: '#/definitions/Text' description: The ID of the security group. description: Contains information about a security group associated with a network interface. This data type is used as one of the elements of the NetworkInterface data type. StopAction: type: string enum: - START_EVALUATION - SKIP_EVALUATION Subscription: type: object required: - resourceArn - topicArn - eventSubscriptions properties: resourceArn: $ref: '#/definitions/Arn' description: The ARN of the assessment template that is used during the event for which the SNS notification is sent. topicArn: $ref: '#/definitions/Arn' description: The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent. eventSubscriptions: $ref: '#/definitions/EventSubscriptionList' description: The list of existing event subscriptions. description: This data type is used as a response element in the ListEventSubscriptions action. Tag: type: object required: - key properties: key: $ref: '#/definitions/TagKey' description: A tag key. value: $ref: '#/definitions/TagValue' description: A value assigned to a tag key. description: A key and value pair. This data type is used as a request parameter in the SetTagsForResource action and a response element in the ListTagsForResource action. TelemetryMetadata: type: object required: - messageType - count properties: messageType: $ref: '#/definitions/MessageType' description: A specific type of behavioral data that is collected by the agent. count: $ref: '#/definitions/Long' description: The count of messages that the agent sends to the Amazon Inspector service. dataSize: $ref: '#/definitions/Long' description: The data size of messages that the agent sends to the Amazon Inspector service. description: The metadata about the Amazon Inspector application data metrics collected by the agent. This data type is used as the response element in the GetTelemetryMetadata action.