1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Adm
  5. getRemediationRecipes
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Adm.getRemediationRecipes

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides the list of Remediation Recipes in Oracle Cloud Infrastructure Adm service.

Returns a list of Remediation Recipes based on the specified query parameters. The query parameters compartmentId or id must be provided.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testRemediationRecipes = oci.Adm.getRemediationRecipes({
    compartmentId: compartmentId,
    displayName: remediationRecipeDisplayName,
    id: remediationRecipeId,
    state: remediationRecipeState,
});
Copy
import pulumi
import pulumi_oci as oci

test_remediation_recipes = oci.Adm.get_remediation_recipes(compartment_id=compartment_id,
    display_name=remediation_recipe_display_name,
    id=remediation_recipe_id,
    state=remediation_recipe_state)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/adm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := adm.GetRemediationRecipes(ctx, &adm.GetRemediationRecipesArgs{
			CompartmentId: pulumi.StringRef(compartmentId),
			DisplayName:   pulumi.StringRef(remediationRecipeDisplayName),
			Id:            pulumi.StringRef(remediationRecipeId),
			State:         pulumi.StringRef(remediationRecipeState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testRemediationRecipes = Oci.Adm.GetRemediationRecipes.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = remediationRecipeDisplayName,
        Id = remediationRecipeId,
        State = remediationRecipeState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Adm.AdmFunctions;
import com.pulumi.oci.Adm.inputs.GetRemediationRecipesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testRemediationRecipes = AdmFunctions.getRemediationRecipes(GetRemediationRecipesArgs.builder()
            .compartmentId(compartmentId)
            .displayName(remediationRecipeDisplayName)
            .id(remediationRecipeId)
            .state(remediationRecipeState)
            .build());

    }
}
Copy
variables:
  testRemediationRecipes:
    fn::invoke:
      function: oci:Adm:getRemediationRecipes
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${remediationRecipeDisplayName}
        id: ${remediationRecipeId}
        state: ${remediationRecipeState}
Copy

Using getRemediationRecipes

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRemediationRecipes(args: GetRemediationRecipesArgs, opts?: InvokeOptions): Promise<GetRemediationRecipesResult>
function getRemediationRecipesOutput(args: GetRemediationRecipesOutputArgs, opts?: InvokeOptions): Output<GetRemediationRecipesResult>
Copy
def get_remediation_recipes(compartment_id: Optional[str] = None,
                            display_name: Optional[str] = None,
                            filters: Optional[Sequence[_adm.GetRemediationRecipesFilter]] = None,
                            id: Optional[str] = None,
                            state: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetRemediationRecipesResult
def get_remediation_recipes_output(compartment_id: Optional[pulumi.Input[str]] = None,
                            display_name: Optional[pulumi.Input[str]] = None,
                            filters: Optional[pulumi.Input[Sequence[pulumi.Input[_adm.GetRemediationRecipesFilterArgs]]]] = None,
                            id: Optional[pulumi.Input[str]] = None,
                            state: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetRemediationRecipesResult]
Copy
func GetRemediationRecipes(ctx *Context, args *GetRemediationRecipesArgs, opts ...InvokeOption) (*GetRemediationRecipesResult, error)
func GetRemediationRecipesOutput(ctx *Context, args *GetRemediationRecipesOutputArgs, opts ...InvokeOption) GetRemediationRecipesResultOutput
Copy

> Note: This function is named GetRemediationRecipes in the Go SDK.

public static class GetRemediationRecipes 
{
    public static Task<GetRemediationRecipesResult> InvokeAsync(GetRemediationRecipesArgs args, InvokeOptions? opts = null)
    public static Output<GetRemediationRecipesResult> Invoke(GetRemediationRecipesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRemediationRecipesResult> getRemediationRecipes(GetRemediationRecipesArgs args, InvokeOptions options)
public static Output<GetRemediationRecipesResult> getRemediationRecipes(GetRemediationRecipesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Adm/getRemediationRecipes:getRemediationRecipes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId string
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. List<GetRemediationRecipesFilter>
Id string
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
State string
A filter to return only Remediation Recipes that match the specified lifecycleState.
CompartmentId string
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. []GetRemediationRecipesFilter
Id string
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
State string
A filter to return only Remediation Recipes that match the specified lifecycleState.
compartmentId String
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<GetRemediationRecipesFilter>
id String
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
state String
A filter to return only Remediation Recipes that match the specified lifecycleState.
compartmentId string
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
displayName string
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. GetRemediationRecipesFilter[]
id string
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
state string
A filter to return only Remediation Recipes that match the specified lifecycleState.
compartment_id str
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
display_name str
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. Sequence[adm.GetRemediationRecipesFilter]
id str
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
state str
A filter to return only Remediation Recipes that match the specified lifecycleState.
compartmentId String
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<Property Map>
id String
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
state String
A filter to return only Remediation Recipes that match the specified lifecycleState.

getRemediationRecipes Result

The following output properties are available:

RemediationRecipeCollections List<GetRemediationRecipesRemediationRecipeCollection>
The list of remediation_recipe_collection.
CompartmentId string
The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
DisplayName string
The name of the Remediation Recipe.
Filters List<GetRemediationRecipesFilter>
Id string
The Oracle Cloud Identifier (OCID) of the remediation recipe.
State string
The current lifecycle state of the Remediation Recipe.
RemediationRecipeCollections []GetRemediationRecipesRemediationRecipeCollection
The list of remediation_recipe_collection.
CompartmentId string
The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
DisplayName string
The name of the Remediation Recipe.
Filters []GetRemediationRecipesFilter
Id string
The Oracle Cloud Identifier (OCID) of the remediation recipe.
State string
The current lifecycle state of the Remediation Recipe.
remediationRecipeCollections List<GetRemediationRecipesRemediationRecipeCollection>
The list of remediation_recipe_collection.
compartmentId String
The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
displayName String
The name of the Remediation Recipe.
filters List<GetRemediationRecipesFilter>
id String
The Oracle Cloud Identifier (OCID) of the remediation recipe.
state String
The current lifecycle state of the Remediation Recipe.
remediationRecipeCollections GetRemediationRecipesRemediationRecipeCollection[]
The list of remediation_recipe_collection.
compartmentId string
The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
displayName string
The name of the Remediation Recipe.
filters GetRemediationRecipesFilter[]
id string
The Oracle Cloud Identifier (OCID) of the remediation recipe.
state string
The current lifecycle state of the Remediation Recipe.
remediation_recipe_collections Sequence[adm.GetRemediationRecipesRemediationRecipeCollection]
The list of remediation_recipe_collection.
compartment_id str
The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
display_name str
The name of the Remediation Recipe.
filters Sequence[adm.GetRemediationRecipesFilter]
id str
The Oracle Cloud Identifier (OCID) of the remediation recipe.
state str
The current lifecycle state of the Remediation Recipe.
remediationRecipeCollections List<Property Map>
The list of remediation_recipe_collection.
compartmentId String
The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
displayName String
The name of the Remediation Recipe.
filters List<Property Map>
id String
The Oracle Cloud Identifier (OCID) of the remediation recipe.
state String
The current lifecycle state of the Remediation Recipe.

Supporting Types

GetRemediationRecipesFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetRemediationRecipesRemediationRecipeCollection

items This property is required. List<Property Map>

GetRemediationRecipesRemediationRecipeCollectionItem

CompartmentId This property is required. string
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
DetectConfigurations This property is required. List<GetRemediationRecipesRemediationRecipeCollectionItemDetectConfiguration>
A configuration to define the constraints when detecting vulnerable dependencies.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
FreeformTags This property is required. Dictionary<string, string>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id This property is required. string
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
IsRunTriggeredOnKbChange This property is required. bool
Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
KnowledgeBaseId This property is required. string
The Oracle Cloud Identifier (OCID) of the knowledge base.
NetworkConfigurations This property is required. List<GetRemediationRecipesRemediationRecipeCollectionItemNetworkConfiguration>
A network configuration defines the required network characteristics for an ADM remediation recipe. A network configuration is required if the build service is one of: GitHub Actions, GitLab Pipeline, or Jenkins Pipeline.
ScmConfigurations This property is required. List<GetRemediationRecipesRemediationRecipeCollectionItemScmConfiguration>
A configuration for the Source Code Management tool/platform used by a remediation recipe.
State This property is required. string
A filter to return only Remediation Recipes that match the specified lifecycleState.
SystemTags This property is required. Dictionary<string, string>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The creation date and time of the Remediation Recipe (formatted according to RFC3339).
TimeUpdated This property is required. string
The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
VerifyConfigurations This property is required. List<GetRemediationRecipesRemediationRecipeCollectionItemVerifyConfiguration>
The Verify stage configuration specifies a build service to run a pipeline for the recommended code changes. The build pipeline will be initiated to ensure that there is no breaking change after the dependency versions have been updated in source to avoid vulnerabilities.
CompartmentId This property is required. string
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
DetectConfigurations This property is required. []GetRemediationRecipesRemediationRecipeCollectionItemDetectConfiguration
A configuration to define the constraints when detecting vulnerable dependencies.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
FreeformTags This property is required. map[string]string
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id This property is required. string
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
IsRunTriggeredOnKbChange This property is required. bool
Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
KnowledgeBaseId This property is required. string
The Oracle Cloud Identifier (OCID) of the knowledge base.
NetworkConfigurations This property is required. []GetRemediationRecipesRemediationRecipeCollectionItemNetworkConfiguration
A network configuration defines the required network characteristics for an ADM remediation recipe. A network configuration is required if the build service is one of: GitHub Actions, GitLab Pipeline, or Jenkins Pipeline.
ScmConfigurations This property is required. []GetRemediationRecipesRemediationRecipeCollectionItemScmConfiguration
A configuration for the Source Code Management tool/platform used by a remediation recipe.
State This property is required. string
A filter to return only Remediation Recipes that match the specified lifecycleState.
SystemTags This property is required. map[string]string
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The creation date and time of the Remediation Recipe (formatted according to RFC3339).
TimeUpdated This property is required. string
The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
VerifyConfigurations This property is required. []GetRemediationRecipesRemediationRecipeCollectionItemVerifyConfiguration
The Verify stage configuration specifies a build service to run a pipeline for the recommended code changes. The build pipeline will be initiated to ensure that there is no breaking change after the dependency versions have been updated in source to avoid vulnerabilities.
compartmentId This property is required. String
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
detectConfigurations This property is required. List<GetRemediationRecipesRemediationRecipeCollectionItemDetectConfiguration>
A configuration to define the constraints when detecting vulnerable dependencies.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
freeformTags This property is required. Map<String,String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. String
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
isRunTriggeredOnKbChange This property is required. Boolean
Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
knowledgeBaseId This property is required. String
The Oracle Cloud Identifier (OCID) of the knowledge base.
networkConfigurations This property is required. List<GetRemediationRecipesRemediationRecipeCollectionItemNetworkConfiguration>
A network configuration defines the required network characteristics for an ADM remediation recipe. A network configuration is required if the build service is one of: GitHub Actions, GitLab Pipeline, or Jenkins Pipeline.
scmConfigurations This property is required. List<GetRemediationRecipesRemediationRecipeCollectionItemScmConfiguration>
A configuration for the Source Code Management tool/platform used by a remediation recipe.
state This property is required. String
A filter to return only Remediation Recipes that match the specified lifecycleState.
systemTags This property is required. Map<String,String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The creation date and time of the Remediation Recipe (formatted according to RFC3339).
timeUpdated This property is required. String
The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
verifyConfigurations This property is required. List<GetRemediationRecipesRemediationRecipeCollectionItemVerifyConfiguration>
The Verify stage configuration specifies a build service to run a pipeline for the recommended code changes. The build pipeline will be initiated to ensure that there is no breaking change after the dependency versions have been updated in source to avoid vulnerabilities.
compartmentId This property is required. string
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
detectConfigurations This property is required. GetRemediationRecipesRemediationRecipeCollectionItemDetectConfiguration[]
A configuration to define the constraints when detecting vulnerable dependencies.
displayName This property is required. string
A filter to return only resources that match the entire display name given.
freeformTags This property is required. {[key: string]: string}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. string
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
isRunTriggeredOnKbChange This property is required. boolean
Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
knowledgeBaseId This property is required. string
The Oracle Cloud Identifier (OCID) of the knowledge base.
networkConfigurations This property is required. GetRemediationRecipesRemediationRecipeCollectionItemNetworkConfiguration[]
A network configuration defines the required network characteristics for an ADM remediation recipe. A network configuration is required if the build service is one of: GitHub Actions, GitLab Pipeline, or Jenkins Pipeline.
scmConfigurations This property is required. GetRemediationRecipesRemediationRecipeCollectionItemScmConfiguration[]
A configuration for the Source Code Management tool/platform used by a remediation recipe.
state This property is required. string
A filter to return only Remediation Recipes that match the specified lifecycleState.
systemTags This property is required. {[key: string]: string}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. string
The creation date and time of the Remediation Recipe (formatted according to RFC3339).
timeUpdated This property is required. string
The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
verifyConfigurations This property is required. GetRemediationRecipesRemediationRecipeCollectionItemVerifyConfiguration[]
The Verify stage configuration specifies a build service to run a pipeline for the recommended code changes. The build pipeline will be initiated to ensure that there is no breaking change after the dependency versions have been updated in source to avoid vulnerabilities.
compartment_id This property is required. str
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
detect_configurations This property is required. Sequence[adm.GetRemediationRecipesRemediationRecipeCollectionItemDetectConfiguration]
A configuration to define the constraints when detecting vulnerable dependencies.
display_name This property is required. str
A filter to return only resources that match the entire display name given.
freeform_tags This property is required. Mapping[str, str]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. str
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
is_run_triggered_on_kb_change This property is required. bool
Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
knowledge_base_id This property is required. str
The Oracle Cloud Identifier (OCID) of the knowledge base.
network_configurations This property is required. Sequence[adm.GetRemediationRecipesRemediationRecipeCollectionItemNetworkConfiguration]
A network configuration defines the required network characteristics for an ADM remediation recipe. A network configuration is required if the build service is one of: GitHub Actions, GitLab Pipeline, or Jenkins Pipeline.
scm_configurations This property is required. Sequence[adm.GetRemediationRecipesRemediationRecipeCollectionItemScmConfiguration]
A configuration for the Source Code Management tool/platform used by a remediation recipe.
state This property is required. str
A filter to return only Remediation Recipes that match the specified lifecycleState.
system_tags This property is required. Mapping[str, str]
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created This property is required. str
The creation date and time of the Remediation Recipe (formatted according to RFC3339).
time_updated This property is required. str
The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
verify_configurations This property is required. Sequence[adm.GetRemediationRecipesRemediationRecipeCollectionItemVerifyConfiguration]
The Verify stage configuration specifies a build service to run a pipeline for the recommended code changes. The build pipeline will be initiated to ensure that there is no breaking change after the dependency versions have been updated in source to avoid vulnerabilities.
compartmentId This property is required. String
A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
detectConfigurations This property is required. List<Property Map>
A configuration to define the constraints when detecting vulnerable dependencies.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
freeformTags This property is required. Map<String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. String
A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
isRunTriggeredOnKbChange This property is required. Boolean
Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
knowledgeBaseId This property is required. String
The Oracle Cloud Identifier (OCID) of the knowledge base.
networkConfigurations This property is required. List<Property Map>
A network configuration defines the required network characteristics for an ADM remediation recipe. A network configuration is required if the build service is one of: GitHub Actions, GitLab Pipeline, or Jenkins Pipeline.
scmConfigurations This property is required. List<Property Map>
A configuration for the Source Code Management tool/platform used by a remediation recipe.
state This property is required. String
A filter to return only Remediation Recipes that match the specified lifecycleState.
systemTags This property is required. Map<String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The creation date and time of the Remediation Recipe (formatted according to RFC3339).
timeUpdated This property is required. String
The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
verifyConfigurations This property is required. List<Property Map>
The Verify stage configuration specifies a build service to run a pipeline for the recommended code changes. The build pipeline will be initiated to ensure that there is no breaking change after the dependency versions have been updated in source to avoid vulnerabilities.

GetRemediationRecipesRemediationRecipeCollectionItemDetectConfiguration

Exclusions This property is required. List<string>
The list of dependencies to be ignored by the recommendation algorithm. The dependency pattern is matched against the 'group:artifact:version' or the purl of a dependency. An asterisk (*) at the end in the dependency pattern acts as a wildcard and matches zero or more characters.
MaxPermissibleCvssV2score This property is required. double
The maximum Common Vulnerability Scoring System Version 2 (CVSS V2) score. An artifact with a CVSS V2 score below this value is not considered for patching.
MaxPermissibleCvssV3score This property is required. double
The maximum Common Vulnerability Scoring System Version 3 (CVSS V3) score. An artifact with a CVSS V3 score below this value is not considered for patching.
MaxPermissibleSeverity This property is required. string
The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
UpgradePolicy This property is required. string
The upgrade policy for recommendations. The Nearest upgrade policy upgrades a dependency to the oldest version that meets both of the following criteria: it is newer than the current version and it is not affected by a vulnerability.
Exclusions This property is required. []string
The list of dependencies to be ignored by the recommendation algorithm. The dependency pattern is matched against the 'group:artifact:version' or the purl of a dependency. An asterisk (*) at the end in the dependency pattern acts as a wildcard and matches zero or more characters.
MaxPermissibleCvssV2score This property is required. float64
The maximum Common Vulnerability Scoring System Version 2 (CVSS V2) score. An artifact with a CVSS V2 score below this value is not considered for patching.
MaxPermissibleCvssV3score This property is required. float64
The maximum Common Vulnerability Scoring System Version 3 (CVSS V3) score. An artifact with a CVSS V3 score below this value is not considered for patching.
MaxPermissibleSeverity This property is required. string
The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
UpgradePolicy This property is required. string
The upgrade policy for recommendations. The Nearest upgrade policy upgrades a dependency to the oldest version that meets both of the following criteria: it is newer than the current version and it is not affected by a vulnerability.
exclusions This property is required. List<String>
The list of dependencies to be ignored by the recommendation algorithm. The dependency pattern is matched against the 'group:artifact:version' or the purl of a dependency. An asterisk (*) at the end in the dependency pattern acts as a wildcard and matches zero or more characters.
maxPermissibleCvssV2score This property is required. Double
The maximum Common Vulnerability Scoring System Version 2 (CVSS V2) score. An artifact with a CVSS V2 score below this value is not considered for patching.
maxPermissibleCvssV3score This property is required. Double
The maximum Common Vulnerability Scoring System Version 3 (CVSS V3) score. An artifact with a CVSS V3 score below this value is not considered for patching.
maxPermissibleSeverity This property is required. String
The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
upgradePolicy This property is required. String
The upgrade policy for recommendations. The Nearest upgrade policy upgrades a dependency to the oldest version that meets both of the following criteria: it is newer than the current version and it is not affected by a vulnerability.
exclusions This property is required. string[]
The list of dependencies to be ignored by the recommendation algorithm. The dependency pattern is matched against the 'group:artifact:version' or the purl of a dependency. An asterisk (*) at the end in the dependency pattern acts as a wildcard and matches zero or more characters.
maxPermissibleCvssV2score This property is required. number
The maximum Common Vulnerability Scoring System Version 2 (CVSS V2) score. An artifact with a CVSS V2 score below this value is not considered for patching.
maxPermissibleCvssV3score This property is required. number
The maximum Common Vulnerability Scoring System Version 3 (CVSS V3) score. An artifact with a CVSS V3 score below this value is not considered for patching.
maxPermissibleSeverity This property is required. string
The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
upgradePolicy This property is required. string
The upgrade policy for recommendations. The Nearest upgrade policy upgrades a dependency to the oldest version that meets both of the following criteria: it is newer than the current version and it is not affected by a vulnerability.
exclusions This property is required. Sequence[str]
The list of dependencies to be ignored by the recommendation algorithm. The dependency pattern is matched against the 'group:artifact:version' or the purl of a dependency. An asterisk (*) at the end in the dependency pattern acts as a wildcard and matches zero or more characters.
max_permissible_cvss_v2score This property is required. float
The maximum Common Vulnerability Scoring System Version 2 (CVSS V2) score. An artifact with a CVSS V2 score below this value is not considered for patching.
max_permissible_cvss_v3score This property is required. float
The maximum Common Vulnerability Scoring System Version 3 (CVSS V3) score. An artifact with a CVSS V3 score below this value is not considered for patching.
max_permissible_severity This property is required. str
The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
upgrade_policy This property is required. str
The upgrade policy for recommendations. The Nearest upgrade policy upgrades a dependency to the oldest version that meets both of the following criteria: it is newer than the current version and it is not affected by a vulnerability.
exclusions This property is required. List<String>
The list of dependencies to be ignored by the recommendation algorithm. The dependency pattern is matched against the 'group:artifact:version' or the purl of a dependency. An asterisk (*) at the end in the dependency pattern acts as a wildcard and matches zero or more characters.
maxPermissibleCvssV2score This property is required. Number
The maximum Common Vulnerability Scoring System Version 2 (CVSS V2) score. An artifact with a CVSS V2 score below this value is not considered for patching.
maxPermissibleCvssV3score This property is required. Number
The maximum Common Vulnerability Scoring System Version 3 (CVSS V3) score. An artifact with a CVSS V3 score below this value is not considered for patching.
maxPermissibleSeverity This property is required. String
The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
upgradePolicy This property is required. String
The upgrade policy for recommendations. The Nearest upgrade policy upgrades a dependency to the oldest version that meets both of the following criteria: it is newer than the current version and it is not affected by a vulnerability.

GetRemediationRecipesRemediationRecipeCollectionItemNetworkConfiguration

NsgIds This property is required. List<string>
The list of Oracle Cloud Identifiers (OCID) corresponding to Network Security Groups.
SubnetId This property is required. string
The Oracle Cloud Identifier (OCID) of the subnet.
NsgIds This property is required. []string
The list of Oracle Cloud Identifiers (OCID) corresponding to Network Security Groups.
SubnetId This property is required. string
The Oracle Cloud Identifier (OCID) of the subnet.
nsgIds This property is required. List<String>
The list of Oracle Cloud Identifiers (OCID) corresponding to Network Security Groups.
subnetId This property is required. String
The Oracle Cloud Identifier (OCID) of the subnet.
nsgIds This property is required. string[]
The list of Oracle Cloud Identifiers (OCID) corresponding to Network Security Groups.
subnetId This property is required. string
The Oracle Cloud Identifier (OCID) of the subnet.
nsg_ids This property is required. Sequence[str]
The list of Oracle Cloud Identifiers (OCID) corresponding to Network Security Groups.
subnet_id This property is required. str
The Oracle Cloud Identifier (OCID) of the subnet.
nsgIds This property is required. List<String>
The list of Oracle Cloud Identifiers (OCID) corresponding to Network Security Groups.
subnetId This property is required. String
The Oracle Cloud Identifier (OCID) of the subnet.

GetRemediationRecipesRemediationRecipeCollectionItemScmConfiguration

Branch This property is required. string
The branch used by ADM to patch vulnerabilities.
BuildFileLocation This property is required. string
The location of the build file relative to the root of the repository. Only Maven build files (POM) are currently supported. If this property is not specified, ADM will use the build file located at the root of the repository.
ExternalScmType This property is required. string
The type of External Source Code Management.
IsAutomergeEnabled This property is required. bool
If true, the Pull Request (PR) will be merged after the verify stage completes successfully If false, the PR with the proposed changes must be reviewed and manually merged.
OciCodeRepositoryId This property is required. string
The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
PatSecretId This property is required. string
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
RepositoryUrl This property is required. string
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
ScmType This property is required. string
The type of Source Code Management.
Username This property is required. string
The username that will be used to authenticate with Jenkins.
Branch This property is required. string
The branch used by ADM to patch vulnerabilities.
BuildFileLocation This property is required. string
The location of the build file relative to the root of the repository. Only Maven build files (POM) are currently supported. If this property is not specified, ADM will use the build file located at the root of the repository.
ExternalScmType This property is required. string
The type of External Source Code Management.
IsAutomergeEnabled This property is required. bool
If true, the Pull Request (PR) will be merged after the verify stage completes successfully If false, the PR with the proposed changes must be reviewed and manually merged.
OciCodeRepositoryId This property is required. string
The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
PatSecretId This property is required. string
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
RepositoryUrl This property is required. string
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
ScmType This property is required. string
The type of Source Code Management.
Username This property is required. string
The username that will be used to authenticate with Jenkins.
branch This property is required. String
The branch used by ADM to patch vulnerabilities.
buildFileLocation This property is required. String
The location of the build file relative to the root of the repository. Only Maven build files (POM) are currently supported. If this property is not specified, ADM will use the build file located at the root of the repository.
externalScmType This property is required. String
The type of External Source Code Management.
isAutomergeEnabled This property is required. Boolean
If true, the Pull Request (PR) will be merged after the verify stage completes successfully If false, the PR with the proposed changes must be reviewed and manually merged.
ociCodeRepositoryId This property is required. String
The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
patSecretId This property is required. String
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
repositoryUrl This property is required. String
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
scmType This property is required. String
The type of Source Code Management.
username This property is required. String
The username that will be used to authenticate with Jenkins.
branch This property is required. string
The branch used by ADM to patch vulnerabilities.
buildFileLocation This property is required. string
The location of the build file relative to the root of the repository. Only Maven build files (POM) are currently supported. If this property is not specified, ADM will use the build file located at the root of the repository.
externalScmType This property is required. string
The type of External Source Code Management.
isAutomergeEnabled This property is required. boolean
If true, the Pull Request (PR) will be merged after the verify stage completes successfully If false, the PR with the proposed changes must be reviewed and manually merged.
ociCodeRepositoryId This property is required. string
The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
patSecretId This property is required. string
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
repositoryUrl This property is required. string
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
scmType This property is required. string
The type of Source Code Management.
username This property is required. string
The username that will be used to authenticate with Jenkins.
branch This property is required. str
The branch used by ADM to patch vulnerabilities.
build_file_location This property is required. str
The location of the build file relative to the root of the repository. Only Maven build files (POM) are currently supported. If this property is not specified, ADM will use the build file located at the root of the repository.
external_scm_type This property is required. str
The type of External Source Code Management.
is_automerge_enabled This property is required. bool
If true, the Pull Request (PR) will be merged after the verify stage completes successfully If false, the PR with the proposed changes must be reviewed and manually merged.
oci_code_repository_id This property is required. str
The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
pat_secret_id This property is required. str
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
repository_url This property is required. str
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
scm_type This property is required. str
The type of Source Code Management.
username This property is required. str
The username that will be used to authenticate with Jenkins.
branch This property is required. String
The branch used by ADM to patch vulnerabilities.
buildFileLocation This property is required. String
The location of the build file relative to the root of the repository. Only Maven build files (POM) are currently supported. If this property is not specified, ADM will use the build file located at the root of the repository.
externalScmType This property is required. String
The type of External Source Code Management.
isAutomergeEnabled This property is required. Boolean
If true, the Pull Request (PR) will be merged after the verify stage completes successfully If false, the PR with the proposed changes must be reviewed and manually merged.
ociCodeRepositoryId This property is required. String
The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
patSecretId This property is required. String
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
repositoryUrl This property is required. String
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
scmType This property is required. String
The type of Source Code Management.
username This property is required. String
The username that will be used to authenticate with Jenkins.

GetRemediationRecipesRemediationRecipeCollectionItemVerifyConfiguration

AdditionalParameters This property is required. Dictionary<string, string>
Additional key-value pairs passed as parameters to the build service when running an experiment.
BuildServiceType This property is required. string
The type of Build Service.
JenkinsUrl This property is required. string
The URL that locates the Jenkins pipeline.
JobName This property is required. string
The name of the Jenkins pipeline job that identifies the build pipeline.
PatSecretId This property is required. string
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
PipelineId This property is required. string
The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
RepositoryUrl This property is required. string
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
TriggerSecretId This property is required. string
The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
Username This property is required. string
The username that will be used to authenticate with Jenkins.
WorkflowName This property is required. string
The name of the GitHub Actions workflow that defines the build pipeline.
AdditionalParameters This property is required. map[string]string
Additional key-value pairs passed as parameters to the build service when running an experiment.
BuildServiceType This property is required. string
The type of Build Service.
JenkinsUrl This property is required. string
The URL that locates the Jenkins pipeline.
JobName This property is required. string
The name of the Jenkins pipeline job that identifies the build pipeline.
PatSecretId This property is required. string
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
PipelineId This property is required. string
The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
RepositoryUrl This property is required. string
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
TriggerSecretId This property is required. string
The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
Username This property is required. string
The username that will be used to authenticate with Jenkins.
WorkflowName This property is required. string
The name of the GitHub Actions workflow that defines the build pipeline.
additionalParameters This property is required. Map<String,String>
Additional key-value pairs passed as parameters to the build service when running an experiment.
buildServiceType This property is required. String
The type of Build Service.
jenkinsUrl This property is required. String
The URL that locates the Jenkins pipeline.
jobName This property is required. String
The name of the Jenkins pipeline job that identifies the build pipeline.
patSecretId This property is required. String
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
pipelineId This property is required. String
The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
repositoryUrl This property is required. String
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
triggerSecretId This property is required. String
The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
username This property is required. String
The username that will be used to authenticate with Jenkins.
workflowName This property is required. String
The name of the GitHub Actions workflow that defines the build pipeline.
additionalParameters This property is required. {[key: string]: string}
Additional key-value pairs passed as parameters to the build service when running an experiment.
buildServiceType This property is required. string
The type of Build Service.
jenkinsUrl This property is required. string
The URL that locates the Jenkins pipeline.
jobName This property is required. string
The name of the Jenkins pipeline job that identifies the build pipeline.
patSecretId This property is required. string
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
pipelineId This property is required. string
The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
repositoryUrl This property is required. string
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
triggerSecretId This property is required. string
The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
username This property is required. string
The username that will be used to authenticate with Jenkins.
workflowName This property is required. string
The name of the GitHub Actions workflow that defines the build pipeline.
additional_parameters This property is required. Mapping[str, str]
Additional key-value pairs passed as parameters to the build service when running an experiment.
build_service_type This property is required. str
The type of Build Service.
jenkins_url This property is required. str
The URL that locates the Jenkins pipeline.
job_name This property is required. str
The name of the Jenkins pipeline job that identifies the build pipeline.
pat_secret_id This property is required. str
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
pipeline_id This property is required. str
The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
repository_url This property is required. str
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
trigger_secret_id This property is required. str
The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
username This property is required. str
The username that will be used to authenticate with Jenkins.
workflow_name This property is required. str
The name of the GitHub Actions workflow that defines the build pipeline.
additionalParameters This property is required. Map<String>
Additional key-value pairs passed as parameters to the build service when running an experiment.
buildServiceType This property is required. String
The type of Build Service.
jenkinsUrl This property is required. String
The URL that locates the Jenkins pipeline.
jobName This property is required. String
The name of the Jenkins pipeline job that identifies the build pipeline.
patSecretId This property is required. String
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
pipelineId This property is required. String
The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
repositoryUrl This property is required. String
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
triggerSecretId This property is required. String
The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
username This property is required. String
The username that will be used to authenticate with Jenkins.
workflowName This property is required. String
The name of the GitHub Actions workflow that defines the build pipeline.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi