import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Container Scan Recipe resource in Oracle Cloud Infrastructure Vulnerability Scanning service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/scanning/latest/ContainerScanRecipe * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/vulnerability_scanning_service * * Creates a new ContainerScanRecipe. A recipe determines the types of security issues that you want scanned. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testContainerScanRecipe = new oci.vulnerabilityscanning.ContainerScanRecipe("test_container_scan_recipe", { * compartmentId: compartmentId, * scanSettings: { * scanLevel: containerScanRecipeScanSettingsScanLevel, * }, * definedTags: { * "foo-namespace.bar-key": "value", * }, * displayName: containerScanRecipeDisplayName, * freeformTags: { * "bar-key": "value", * }, * imageCount: Number(containerScanRecipeImageCount), * }); * ``` * * ## Import * * ContainerScanRecipes can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:VulnerabilityScanning/containerScanRecipe:ContainerScanRecipe test_container_scan_recipe "id" * ``` */ export declare class ContainerScanRecipe extends pulumi.CustomResource { /** * Get an existing ContainerScanRecipe resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ContainerScanRecipeState, opts?: pulumi.CustomResourceOptions): ContainerScanRecipe; /** * Returns true if the given object is an instance of ContainerScanRecipe. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ContainerScanRecipe; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan recipe's compartment */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created */ readonly imageCount: pulumi.Output; /** * (Updatable) A collection of container scan settings */ readonly scanSettings: pulumi.Output; /** * The current state of the config. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * Date and time the recipe was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) */ readonly timeCreated: pulumi.Output; /** * Date and time the recipe was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) */ readonly timeUpdated: pulumi.Output; /** * Create a ContainerScanRecipe resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ContainerScanRecipeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ContainerScanRecipe resources. */ export interface ContainerScanRecipeState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan recipe's compartment */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created */ imageCount?: pulumi.Input; /** * (Updatable) A collection of container scan settings */ scanSettings?: pulumi.Input; /** * The current state of the config. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Date and time the recipe was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) */ timeCreated?: pulumi.Input; /** * Date and time the recipe was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a ContainerScanRecipe resource. */ export interface ContainerScanRecipeArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan recipe's compartment */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User friendly name of container scan recipe. If not present, will be auto-generated. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created */ imageCount?: pulumi.Input; /** * (Updatable) A collection of container scan settings */ scanSettings: pulumi.Input; } //# sourceMappingURL=containerScanRecipe.d.ts.map