UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

172 lines (171 loc) 5.49 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * VulnerabilityProtectionSignature data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single SCM Vulnerability Protection Signature object by its ID. * // * // Replace the ID with the UUID of the SCM Vulnerability Protection Signature you want to find. * const scmVpSignature = scm.getVulnerabilityProtectionSignature({ * id: "f2a337e2-f3a6-45aa-9273-de3d216f8d9c", * }); * export const scmVulnerabilityProtectionSignatureDetails = { * signatureId: scmVpSignature.then(scmVpSignature => scmVpSignature.id), * folder: scmVpSignature.then(scmVpSignature => scmVpSignature.folder), * name: scmVpSignature.then(scmVpSignature => scmVpSignature.threatId), * }; * ``` */ export declare function getVulnerabilityProtectionSignature(args: GetVulnerabilityProtectionSignatureArgs, opts?: pulumi.InvokeOptions): Promise<GetVulnerabilityProtectionSignatureResult>; /** * A collection of arguments for invoking getVulnerabilityProtectionSignature. */ export interface GetVulnerabilityProtectionSignatureArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: string; /** * UUID of the resource */ id: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: string; } /** * A collection of values returned by getVulnerabilityProtectionSignature. */ export interface GetVulnerabilityProtectionSignatureResult { /** * Affected host */ readonly affectedHost: outputs.GetVulnerabilityProtectionSignatureAffectedHost; /** * Bugtraq */ readonly bugtraqs: string[]; /** * Comment */ readonly comment: string; /** * Cve */ readonly cves: string[]; /** * Default action */ readonly defaultAction: outputs.GetVulnerabilityProtectionSignatureDefaultAction; /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly device: string; /** * Direction */ readonly direction: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: string; /** * UUID of the resource */ readonly id: string; /** * Reference */ readonly references: string[]; /** * Severity */ readonly severity: string; /** * vulnerability protection signature */ readonly signature: outputs.GetVulnerabilityProtectionSignatureSignature; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: string; readonly tfid: string; /** * threat id range \n\n and \n\n */ readonly threatId: string; /** * Threatname */ readonly threatname: string; /** * Vendor */ readonly vendors: string[]; } /** * VulnerabilityProtectionSignature data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single SCM Vulnerability Protection Signature object by its ID. * // * // Replace the ID with the UUID of the SCM Vulnerability Protection Signature you want to find. * const scmVpSignature = scm.getVulnerabilityProtectionSignature({ * id: "f2a337e2-f3a6-45aa-9273-de3d216f8d9c", * }); * export const scmVulnerabilityProtectionSignatureDetails = { * signatureId: scmVpSignature.then(scmVpSignature => scmVpSignature.id), * folder: scmVpSignature.then(scmVpSignature => scmVpSignature.folder), * name: scmVpSignature.then(scmVpSignature => scmVpSignature.threatId), * }; * ``` */ export declare function getVulnerabilityProtectionSignatureOutput(args: GetVulnerabilityProtectionSignatureOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVulnerabilityProtectionSignatureResult>; /** * A collection of arguments for invoking getVulnerabilityProtectionSignature. */ export interface GetVulnerabilityProtectionSignatureOutputArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: pulumi.Input<string>; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input<string>; /** * UUID of the resource */ id: pulumi.Input<string>; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input<string>; }