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

ThreatIntelligence

import { ThreatIntelligence } from "https://googleapis.deno.dev/v1/threatintelligence:v1beta.ts";

threatintelligence.googleapis.com API.

class ThreatIntelligence {
constructor(client?: CredentialsClient, baseUrl?: string);
async projectsAlertsBenign(name: string, req: MarkAlertAsBenignRequest): Promise<Alert>;
async projectsAlertsDocumentsGet(name: string): Promise<AlertDocument>;
async projectsAlertsDuplicate(name: string, req: MarkAlertAsDuplicateRequest): Promise<Alert>;
async projectsAlertsEnumerateFacets(parent: string, opts?: ProjectsAlertsEnumerateFacetsOptions): Promise<EnumerateAlertFacetsResponse>;
async projectsAlertsEscalate(name: string, req: MarkAlertAsEscalatedRequest): Promise<Alert>;
async projectsAlertsFalsePositive(name: string, req: MarkAlertAsFalsePositiveRequest): Promise<Alert>;
async projectsAlertsGet(name: string): Promise<Alert>;
async projectsAlertsList(parent: string, opts?: ProjectsAlertsListOptions): Promise<ListAlertsResponse>;
async projectsAlertsNotActionable(name: string, req: MarkAlertAsNotActionableRequest): Promise<Alert>;
async projectsAlertsRead(name: string, req: MarkAlertAsReadRequest): Promise<Alert>;
async projectsAlertsRefreshUriStatus(name: string, req: RefreshAlertUriStatusRequest): Promise<RefreshAlertUriStatusResponse>;
async projectsAlertsReportAlertUri(name: string, req: ReportAlertUriRequest): Promise<ReportAlertUriResponse>;
async projectsAlertsResolve(name: string, req: MarkAlertAsResolvedRequest): Promise<Alert>;
async projectsAlertsTrackExternally(name: string, req: MarkAlertAsTrackedExternallyRequest): Promise<Alert>;
async projectsAlertsTriage(name: string, req: MarkAlertAsTriagedRequest): Promise<Alert>;
async projectsConfigurationsGet(name: string): Promise<Configuration>;
async projectsConfigurationsList(parent: string, opts?: ProjectsConfigurationsListOptions): Promise<ListConfigurationsResponse>;
async projectsConfigurationsRevisionsList(parent: string, opts?: ProjectsConfigurationsRevisionsListOptions): Promise<ListConfigurationRevisionsResponse>;
async projectsConfigurationsUpsert(
parent: string,
): Promise<UpsertConfigurationResponse>;
async projectsFindingsGet(name: string): Promise<Finding>;
async projectsFindingsList(parent: string, opts?: ProjectsFindingsListOptions): Promise<ListFindingsResponse>;
async projectsFindingsSearch(parent: string, opts?: ProjectsFindingsSearchOptions): Promise<SearchFindingsResponse>;
}

§Constructors

§
new ThreatIntelligence(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
projectsAlertsBenign(name: string, req: MarkAlertAsBenignRequest): Promise<Alert>
[src]

Marks an alert as benign - BENIGN.

@param name

Required. Name of the alert to mark as a benign. Format: projects/{project}/alerts/{alert}

§
projectsAlertsDocumentsGet(name: string): Promise<AlertDocument>
[src]

Gets a specific document associated with an alert.

@param name

Required. Name of the alert document to get. Format: projects/{project}/alerts/{alert}/documents/{document}

§
projectsAlertsDuplicate(name: string, req: MarkAlertAsDuplicateRequest): Promise<Alert>
[src]

Marks an alert as a duplicate of another alert. - DUPLICATE.

@param name

Required. Name of the alert to mark as a duplicate. Format: projects/{project}/alerts/{alert}

§
projectsAlertsEnumerateFacets(parent: string, opts?: ProjectsAlertsEnumerateFacetsOptions): Promise<EnumerateAlertFacetsResponse>
[src]

EnumerateAlertFacets returns the facets and the number of alerts that meet the filter criteria and have that value for each facet.

@param parent

Required. Parent of the alerts.

§
projectsAlertsEscalate(name: string, req: MarkAlertAsEscalatedRequest): Promise<Alert>
[src]

Marks an alert as escalated - ESCALATED.

@param name

Required. Name of the alert to mark as escalated. Format: projects/{project}/alerts/{alert}

§
projectsAlertsFalsePositive(name: string, req: MarkAlertAsFalsePositiveRequest): Promise<Alert>
[src]

Marks an alert as a false positive - FALSE_POSITIVE.

@param name

Required. Name of the alert to mark as a false positive. Format: projects/{project}/alerts/{alert}

§
projectsAlertsGet(name: string): Promise<Alert>
[src]

Get an alert by name.

@param name

Required. Name of the alert to get. Format: projects/{project}/alerts/{alert}

§
projectsAlertsList(parent: string, opts?: ProjectsAlertsListOptions): Promise<ListAlertsResponse>
[src]

Get a list of alerts that meet the filter criteria.

@param parent

Required. Parent of the alerts. Format: projects/{project}

§
projectsAlertsNotActionable(name: string, req: MarkAlertAsNotActionableRequest): Promise<Alert>
[src]

Marks an alert as not actionable - NOT_ACTIONABLE.

@param name

Required. Name of the alert to mark as a not actionable. Format: projects/{project}/alerts/{alert}

§
projectsAlertsRead(name: string, req: MarkAlertAsReadRequest): Promise<Alert>
[src]

Marks an alert as read - READ.

@param name

Required. Name of the alert to mark as read. Format: projects/{project}/alerts/{alert}

§
projectsAlertsRefreshUriStatus(name: string, req: RefreshAlertUriStatusRequest): Promise<RefreshAlertUriStatusResponse>
[src]

Return the status of a URI submitted to Google WebRisk.

@param name

Required. Name of alert to refresh status from WebRisk

§
projectsAlertsReportAlertUri(name: string, req: ReportAlertUriRequest): Promise<ReportAlertUriResponse>
[src]

Report the URI associated with an alert to Google WebRisk.

@param name

Required. Name of alert to submit to WebRisk.

§
projectsAlertsResolve(name: string, req: MarkAlertAsResolvedRequest): Promise<Alert>
[src]

Marks an alert to closed state - RESOLVED.

@param name

Required. Name of the alert to mark as resolved. Format: projects/{project}/alerts/{alert}

§
projectsAlertsTrackExternally(name: string, req: MarkAlertAsTrackedExternallyRequest): Promise<Alert>
[src]

Marks an alert as tracked externally - TRACKED_EXTERNALLY.

@param name

Required. Name of the alert to mark as tracked externally. Format: projects/{project}/alerts/{alert}

§
projectsAlertsTriage(name: string, req: MarkAlertAsTriagedRequest): Promise<Alert>
[src]

Marks an alert as triaged - TRIAGED.

@param name

Required. Name of the alert to mark as a triaged. Format: projects/{project}/alerts/{alert}

§
projectsConfigurationsGet(name: string): Promise<Configuration>
[src]

Get a configuration by name.

@param name

Required. Name of the configuration to get. Format: vaults/{vault}/configurations/{configuration}

§
projectsConfigurationsList(parent: string, opts?: ProjectsConfigurationsListOptions): Promise<ListConfigurationsResponse>
[src]

Get a list of configurations that meet the filter criteria.

@param parent

Required. Parent of the configuration. Format: vaults/{vault}

§
projectsConfigurationsRevisionsList(parent: string, opts?: ProjectsConfigurationsRevisionsListOptions): Promise<ListConfigurationRevisionsResponse>
[src]

List configuration revisions that meet the filter criteria.

@param parent

Required. The name of the Configuration to retrieve Revisions for

§
projectsConfigurationsUpsert(parent: string, req: Configuration, opts?: ProjectsConfigurationsUpsertOptions): Promise<UpsertConfigurationResponse>
[src]

Creates or updates a configuration.

@param parent

Required. Parent of the configuration.

§
projectsFindingsGet(name: string): Promise<Finding>
[src]

Get a finding by name.

@param name

Required. Name of the finding to get.

§
projectsFindingsList(parent: string, opts?: ProjectsFindingsListOptions): Promise<ListFindingsResponse>
[src]

Get a list of findings that meet the filter criteria.

@param parent

Required. Parent of the findings.

§
projectsFindingsSearch(parent: string, opts?: ProjectsFindingsSearchOptions): Promise<SearchFindingsResponse>
[src]

SearchFindings is a more powerful version of ListFindings that supports complex queries like "findings for issues" using functions such as has_issue and has_asset in the query string. Example to search for findings for a specific issue: has_issue("name=\"vaults/vault-12345/issues/issue-12345\""))

@param parent

Required. Parent of the findings. Format: vaults/{vault}