Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Inspector

import { Inspector } from "https://aws-api.deno.dev/v0.3/services/inspector.ts?docs=full";
class Inspector {
constructor(apiFactory: client.ApiFactory);
async addAttributesToFindings(params: AddAttributesToFindingsRequest, opts?: client.RequestOptions): Promise<AddAttributesToFindingsResponse>;
async createAssessmentTarget(params: CreateAssessmentTargetRequest, opts?: client.RequestOptions): Promise<CreateAssessmentTargetResponse>;
async createAssessmentTemplate(params: CreateAssessmentTemplateRequest, opts?: client.RequestOptions): Promise<CreateAssessmentTemplateResponse>;
async createExclusionsPreview(params: CreateExclusionsPreviewRequest, opts?: client.RequestOptions): Promise<CreateExclusionsPreviewResponse>;
async createResourceGroup(params: CreateResourceGroupRequest, opts?: client.RequestOptions): Promise<CreateResourceGroupResponse>;
async deleteAssessmentRun(params: DeleteAssessmentRunRequest, opts?: client.RequestOptions): Promise<void>;
async deleteAssessmentTarget(params: DeleteAssessmentTargetRequest, opts?: client.RequestOptions): Promise<void>;
async deleteAssessmentTemplate(params: DeleteAssessmentTemplateRequest, opts?: client.RequestOptions): Promise<void>;
async describeAssessmentRuns(params: DescribeAssessmentRunsRequest, opts?: client.RequestOptions): Promise<DescribeAssessmentRunsResponse>;
async describeAssessmentTargets(params: DescribeAssessmentTargetsRequest, opts?: client.RequestOptions): Promise<DescribeAssessmentTargetsResponse>;
async describeAssessmentTemplates(params: DescribeAssessmentTemplatesRequest, opts?: client.RequestOptions): Promise<DescribeAssessmentTemplatesResponse>;
async describeCrossAccountAccessRole(opts?: client.RequestOptions): Promise<DescribeCrossAccountAccessRoleResponse>;
async describeExclusions(params: DescribeExclusionsRequest, opts?: client.RequestOptions): Promise<DescribeExclusionsResponse>;
async describeFindings(params: DescribeFindingsRequest, opts?: client.RequestOptions): Promise<DescribeFindingsResponse>;
async describeResourceGroups(params: DescribeResourceGroupsRequest, opts?: client.RequestOptions): Promise<DescribeResourceGroupsResponse>;
async describeRulesPackages(params: DescribeRulesPackagesRequest, opts?: client.RequestOptions): Promise<DescribeRulesPackagesResponse>;
async getAssessmentReport(params: GetAssessmentReportRequest, opts?: client.RequestOptions): Promise<GetAssessmentReportResponse>;
async getExclusionsPreview(params: GetExclusionsPreviewRequest, opts?: client.RequestOptions): Promise<GetExclusionsPreviewResponse>;
async getTelemetryMetadata(params: GetTelemetryMetadataRequest, opts?: client.RequestOptions): Promise<GetTelemetryMetadataResponse>;
async listAssessmentRunAgents(params: ListAssessmentRunAgentsRequest, opts?: client.RequestOptions): Promise<ListAssessmentRunAgentsResponse>;
async listAssessmentRuns(params?: ListAssessmentRunsRequest, opts?: client.RequestOptions): Promise<ListAssessmentRunsResponse>;
async listAssessmentTargets(params?: ListAssessmentTargetsRequest, opts?: client.RequestOptions): Promise<ListAssessmentTargetsResponse>;
async listAssessmentTemplates(params?: ListAssessmentTemplatesRequest, opts?: client.RequestOptions): Promise<ListAssessmentTemplatesResponse>;
async listEventSubscriptions(params?: ListEventSubscriptionsRequest, opts?: client.RequestOptions): Promise<ListEventSubscriptionsResponse>;
async listExclusions(params: ListExclusionsRequest, opts?: client.RequestOptions): Promise<ListExclusionsResponse>;
async listFindings(params?: ListFindingsRequest, opts?: client.RequestOptions): Promise<ListFindingsResponse>;
async listRulesPackages(params?: ListRulesPackagesRequest, opts?: client.RequestOptions): Promise<ListRulesPackagesResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async previewAgents(params: PreviewAgentsRequest, opts?: client.RequestOptions): Promise<PreviewAgentsResponse>;
async registerCrossAccountAccessRole(params: RegisterCrossAccountAccessRoleRequest, opts?: client.RequestOptions): Promise<void>;
async removeAttributesFromFindings(params: RemoveAttributesFromFindingsRequest, opts?: client.RequestOptions): Promise<RemoveAttributesFromFindingsResponse>;
async setTagsForResource(params: SetTagsForResourceRequest, opts?: client.RequestOptions): Promise<void>;
async startAssessmentRun(params: StartAssessmentRunRequest, opts?: client.RequestOptions): Promise<StartAssessmentRunResponse>;
async stopAssessmentRun(params: StopAssessmentRunRequest, opts?: client.RequestOptions): Promise<void>;
async subscribeToEvent(params: SubscribeToEventRequest, opts?: client.RequestOptions): Promise<void>;
async unsubscribeFromEvent(params: UnsubscribeFromEventRequest, opts?: client.RequestOptions): Promise<void>;
async updateAssessmentTarget(params: UpdateAssessmentTargetRequest, opts?: client.RequestOptions): Promise<void>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Inspector(apiFactory: client.ApiFactory)
[src]

§Methods

§

Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.

§

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.

§

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.

§

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.

§

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".

§
deleteAssessmentRun(params: DeleteAssessmentRunRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the assessment run that is specified by the ARN of the assessment run.

§
deleteAssessmentTarget(params: DeleteAssessmentTargetRequest, opts?: client.RequestOptions): Promise<void>
[src]

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

§
deleteAssessmentTemplate(params: DeleteAssessmentTemplateRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the assessment template that is specified by the ARN of the assessment template.

§

Describes the assessment runs that are specified by the ARNs of the assessment runs.

§

Describes the assessment targets that are specified by the ARNs of the assessment targets.

§

Describes the assessment templates that are specified by the ARNs of the assessment templates.

§
describeCrossAccountAccessRole(opts?: client.RequestOptions): Promise<DescribeCrossAccountAccessRoleResponse>
[src]

Describes the IAM role that enables Amazon Inspector to access your AWS account.

§

Describes the exclusions that are specified by the exclusions' ARNs.

§

Describes the findings that are specified by the ARNs of the findings.

§

Describes the resource groups that are specified by the ARNs of the resource groups.

§

Describes the rules packages that are specified by the ARNs of the rules packages.

§

Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.

§

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.

§

Information about the data that is collected for the specified assessment run.

§

Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.

§

Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.

§

Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.

§

Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.

§

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".

§

List exclusions that are generated by the assessment run.

§

Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.

§

Lists all available Amazon Inspector rules packages.

§

Lists all tags associated with an assessment template.

§

Previews the agents installed on the EC2 instances that are part of the specified assessment target.

§
registerCrossAccountAccessRole(params: RegisterCrossAccountAccessRoleRequest, opts?: client.RequestOptions): Promise<void>
[src]

Registers the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments.

§

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.

§
setTagsForResource(params: SetTagsForResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.

§

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.

§
stopAssessmentRun(params: StopAssessmentRunRequest, opts?: client.RequestOptions): Promise<void>
[src]

Stops the assessment run that is specified by the ARN of the assessment run.

§
subscribeToEvent(params: SubscribeToEventRequest, opts?: client.RequestOptions): Promise<void>
[src]

Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.

§
unsubscribeFromEvent(params: UnsubscribeFromEventRequest, opts?: client.RequestOptions): Promise<void>
[src]

Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.

§
updateAssessmentTarget(params: UpdateAssessmentTargetRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§Static Properties