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

CodeGuruSecurity

import { CodeGuruSecurity } from "https://aws-api-bqtgftz736ft.deno.dev/v0.5/services/codegurusecurity.ts?docs=full";
class CodeGuruSecurity {
constructor(apiFactory: client.ApiFactory);
async batchGetFindings(params: BatchGetFindingsRequest, opts?: client.RequestOptions): Promise<BatchGetFindingsResponse>;
async createScan(params: CreateScanRequest, opts?: client.RequestOptions): Promise<CreateScanResponse>;
async createUploadUrl(params: CreateUploadUrlRequest, opts?: client.RequestOptions): Promise<CreateUploadUrlResponse>;
async getAccountConfiguration(opts?: client.RequestOptions): Promise<GetAccountConfigurationResponse>;
async getFindings(params: GetFindingsRequest, opts?: client.RequestOptions): Promise<GetFindingsResponse>;
async getMetricsSummary(params: GetMetricsSummaryRequest, opts?: client.RequestOptions): Promise<GetMetricsSummaryResponse>;
async getScan(params: GetScanRequest, opts?: client.RequestOptions): Promise<GetScanResponse>;
async listFindingsMetrics(params: ListFindingsMetricsRequest, opts?: client.RequestOptions): Promise<ListFindingsMetricsResponse>;
async listScans(params?: ListScansRequest, opts?: client.RequestOptions): Promise<ListScansResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateAccountConfiguration(params: UpdateAccountConfigurationRequest, opts?: client.RequestOptions): Promise<UpdateAccountConfigurationResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

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

§Methods

§

Returns a list of requested findings from standard scans.

§

Use to create a scan using code uploaded to an Amazon S3 bucket.

§

Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the uploaded resource.

You can upload your code resource to the URL with the request headers using any HTTP client.

§
getAccountConfiguration(opts?: client.RequestOptions): Promise<GetAccountConfigurationResponse>
[src]

Use to get the encryption configuration for an account.

§

Returns a list of all findings generated by a particular scan.

§

Returns a summary of metrics for an account from a specified date, including number of open findings, the categories with most findings, the scans with most open findings, and scans with most open critical findings.

§
getScan(params: GetScanRequest, opts?: client.RequestOptions): Promise<GetScanResponse>
[src]

Returns details about a scan, including whether or not a scan has completed.

§

Returns metrics about all findings in an account within a specified time range.

§
listScans(params?: ListScansRequest, opts?: client.RequestOptions): Promise<ListScansResponse>
[src]

Returns a list of all scans in an account. Does not return EXPRESS scans.

§

Returns a list of all tags associated with a scan.

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

Use to add one or more tags to an existing scan.

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

Use to remove one or more tags from an existing scan.

§

Use to update the encryption configuration for an account.

§Static Properties