import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Detector Recipe resource in Oracle Cloud Infrastructure Cloud Guard service. * * Returns a detector recipe (DetectorRecipe resource) identified by detectorRecipeId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDetectorRecipe = oci.cloudguard.getDetectorRecipe({ * detectorRecipeId: testDetectorRecipeOciCloudGuardDetectorRecipe.id, * }); * ``` */ export declare function getDetectorRecipe(args: GetDetectorRecipeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDetectorRecipe. */ export interface GetDetectorRecipeArgs { /** * Detector recipe OCID */ detectorRecipeId: string; } /** * A collection of values returned by getDetectorRecipe. */ export interface GetDetectorRecipeResult { /** * Compartment OCID of detector recipe */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Description for detector recipe detector rule */ readonly description: string; /** * Detector recipe for the rule */ readonly detector: string; readonly detectorRecipeId: string; /** * Recipe type ( STANDARD, ENTERPRISE ) */ readonly detectorRecipeType: string; /** * List of detector rules for the detector type for recipe - user input */ readonly detectorRules: outputs.CloudGuard.GetDetectorRecipeDetectorRule[]; /** * Display name of the entity */ readonly displayName: string; /** * List of effective detector rules for the detector type for recipe after applying defaults */ readonly effectiveDetectorRules: outputs.CloudGuard.GetDetectorRecipeEffectiveDetectorRule[]; /** * 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: { [key: string]: string; }; /** * OCID for detector recipe */ readonly id: string; /** * Owner of detector recipe */ readonly owner: string; /** * Recipe OCID of the source recipe to be cloned */ readonly sourceDetectorRecipeId: string; /** * The current lifecycle state of the resource */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * List of target IDs to which the recipe is attached */ readonly targetIds: string[]; /** * The date and time the detector recipe was created Format defined by RFC3339. */ readonly timeCreated: string; /** * The date and time the detector recipe was last updated Format defined by RFC3339. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Detector Recipe resource in Oracle Cloud Infrastructure Cloud Guard service. * * Returns a detector recipe (DetectorRecipe resource) identified by detectorRecipeId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDetectorRecipe = oci.cloudguard.getDetectorRecipe({ * detectorRecipeId: testDetectorRecipeOciCloudGuardDetectorRecipe.id, * }); * ``` */ export declare function getDetectorRecipeOutput(args: GetDetectorRecipeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDetectorRecipe. */ export interface GetDetectorRecipeOutputArgs { /** * Detector recipe OCID */ detectorRecipeId: pulumi.Input; } //# sourceMappingURL=getDetectorRecipe.d.ts.map