Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Adm.getRemediationRecipes
Explore with Pulumi AI
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,
});
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)
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
})
}
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,
});
});
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());
}
}
variables:
testRemediationRecipes:
fn::invoke:
function: oci:Adm:getRemediationRecipes
arguments:
compartmentId: ${compartmentId}
displayName: ${remediationRecipeDisplayName}
id: ${remediationRecipeId}
state: ${remediationRecipeState}
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>
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]
func GetRemediationRecipes(ctx *Context, args *GetRemediationRecipesArgs, opts ...InvokeOption) (*GetRemediationRecipesResult, error)
func GetRemediationRecipesOutput(ctx *Context, args *GetRemediationRecipesOutputArgs, opts ...InvokeOption) GetRemediationRecipesResultOutput
> 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)
}
public static CompletableFuture<GetRemediationRecipesResult> getRemediationRecipes(GetRemediationRecipesArgs args, InvokeOptions options)
public static Output<GetRemediationRecipesResult> getRemediationRecipes(GetRemediationRecipesArgs args, InvokeOptions options)
fn::invoke:
function: oci:Adm/getRemediationRecipes:getRemediationRecipes
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - 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 string - A filter to return only resources that match the entire display name given.
- Filters
Changes to this property will trigger replacement.
Remediation Recipes Filter> - 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 string - 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 string - A filter to return only resources that match the entire display name given.
- Filters
Changes to this property will trigger replacement.
Remediation Recipes Filter - 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 String - 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 String - A filter to return only resources that match the entire display name given.
- filters
Changes to this property will trigger replacement.
Remediation Recipes Filter> - 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 string - 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 string - A filter to return only resources that match the entire display name given.
- filters
Changes to this property will trigger replacement.
Remediation Recipes Filter[] - 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.
Get Remediation Recipes Filter] - 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.
- compartment
Id String - 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 String - A filter to return only resources that match the entire display name given.
- filters
Changes to this property will trigger replacement.
- 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:
- Remediation
Recipe List<GetCollections Remediation Recipes Remediation Recipe Collection> - The list of remediation_recipe_collection.
- Compartment
Id string - The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- Display
Name string - The name of the Remediation Recipe.
- Filters
List<Get
Remediation Recipes Filter> - Id string
- The Oracle Cloud Identifier (OCID) of the remediation recipe.
- State string
- The current lifecycle state of the Remediation Recipe.
- Remediation
Recipe []GetCollections Remediation Recipes Remediation Recipe Collection - The list of remediation_recipe_collection.
- Compartment
Id string - The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- Display
Name string - The name of the Remediation Recipe.
- Filters
[]Get
Remediation Recipes Filter - Id string
- The Oracle Cloud Identifier (OCID) of the remediation recipe.
- State string
- The current lifecycle state of the Remediation Recipe.
- remediation
Recipe List<GetCollections Remediation Recipes Remediation Recipe Collection> - The list of remediation_recipe_collection.
- compartment
Id String - The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- display
Name String - The name of the Remediation Recipe.
- filters
List<Get
Remediation Recipes Filter> - id String
- The Oracle Cloud Identifier (OCID) of the remediation recipe.
- state String
- The current lifecycle state of the Remediation Recipe.
- remediation
Recipe GetCollections Remediation Recipes Remediation Recipe Collection[] - The list of remediation_recipe_collection.
- compartment
Id string - The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- display
Name string - The name of the Remediation Recipe.
- filters
Get
Remediation Recipes Filter[] - id string
- The Oracle Cloud Identifier (OCID) of the remediation recipe.
- state string
- The current lifecycle state of the Remediation Recipe.
- remediation_
recipe_ Sequence[adm.collections Get Remediation Recipes Remediation Recipe Collection] - 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.
Get Remediation Recipes Filter] - id str
- The Oracle Cloud Identifier (OCID) of the remediation recipe.
- state str
- The current lifecycle state of the Remediation Recipe.
- remediation
Recipe List<Property Map>Collections - The list of remediation_recipe_collection.
- compartment
Id String - The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- display
Name 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
GetRemediationRecipesRemediationRecipeCollection
- Items
This property is required. List<GetRemediation Recipes Remediation Recipe Collection Item>
- Items
This property is required. []GetRemediation Recipes Remediation Recipe Collection Item
- items
This property is required. List<GetRemediation Recipes Remediation Recipe Collection Item>
- items
This property is required. GetRemediation Recipes Remediation Recipe Collection Item[]
- items
This property is required. Sequence[adm.Get Remediation Recipes Remediation Recipe Collection Item]
- items
This property is required. List<Property Map>
GetRemediationRecipesRemediationRecipeCollectionItem
- Compartment
Id 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.
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"}
- Detect
Configurations This property is required. List<GetRemediation Recipes Remediation Recipe Collection Item Detect Configuration> - A configuration to define the constraints when detecting vulnerable dependencies.
- Display
Name This property is required. string - A filter to return only resources that match the entire display name given.
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.
- 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. string - The Oracle Cloud Identifier (OCID) of the knowledge base.
- Network
Configurations This property is required. List<GetRemediation Recipes Remediation Recipe Collection Item Network Configuration> - 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. List<GetRemediation Recipes Remediation Recipe Collection Item Scm Configuration> - 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.
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"}
- Time
Created This property is required. string - The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- Time
Updated This property is required. string - The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- Verify
Configurations This property is required. List<GetRemediation Recipes Remediation Recipe Collection Item Verify Configuration> - 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. string - A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
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"}
- Detect
Configurations This property is required. []GetRemediation Recipes Remediation Recipe Collection Item Detect Configuration - A configuration to define the constraints when detecting vulnerable dependencies.
- Display
Name This property is required. string - A filter to return only resources that match the entire display name given.
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.
- 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. string - The Oracle Cloud Identifier (OCID) of the knowledge base.
- Network
Configurations This property is required. []GetRemediation Recipes Remediation Recipe Collection Item Network Configuration - 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. []GetRemediation Recipes Remediation Recipe Collection Item Scm Configuration - 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.
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"}
- Time
Created This property is required. string - The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- Time
Updated This property is required. string - The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- Verify
Configurations This property is required. []GetRemediation Recipes Remediation Recipe Collection Item Verify Configuration - 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. String - A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
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"}
- detect
Configurations This property is required. List<GetRemediation Recipes Remediation Recipe Collection Item Detect Configuration> - A configuration to define the constraints when detecting vulnerable dependencies.
- display
Name This property is required. String - A filter to return only resources that match the entire display name given.
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.
- is
Run Triggered On Kb Change This property is required. Boolean - Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
- knowledge
Base Id This property is required. String - The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configurations This property is required. List<GetRemediation Recipes Remediation Recipe Collection Item Network Configuration> - 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. List<GetRemediation Recipes Remediation Recipe Collection Item Scm Configuration> - 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.
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"}
- time
Created This property is required. String - The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- time
Updated This property is required. String - The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- verify
Configurations This property is required. List<GetRemediation Recipes Remediation Recipe Collection Item Verify Configuration> - 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. string - A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
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"}
- detect
Configurations This property is required. GetRemediation Recipes Remediation Recipe Collection Item Detect Configuration[] - A configuration to define the constraints when detecting vulnerable dependencies.
- display
Name This property is required. string - A filter to return only resources that match the entire display name given.
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.
- is
Run Triggered On Kb Change This property is required. boolean - Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
- knowledge
Base Id This property is required. string - The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configurations This property is required. GetRemediation Recipes Remediation Recipe Collection Item Network Configuration[] - 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. GetRemediation Recipes Remediation Recipe Collection Item Scm Configuration[] - 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.
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"}
- time
Created This property is required. string - The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- time
Updated This property is required. string - The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- verify
Configurations This property is required. GetRemediation Recipes Remediation Recipe Collection Item Verify Configuration[] - 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.
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.Get Remediation Recipes Remediation Recipe Collection Item Detect Configuration] - 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.
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.Get Remediation Recipes Remediation Recipe Collection Item Network Configuration] - 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.Get Remediation Recipes Remediation Recipe Collection Item Scm Configuration] - 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.
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.Get Remediation Recipes Remediation Recipe Collection Item Verify Configuration] - 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. String - A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
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"}
- detect
Configurations This property is required. List<Property Map> - A configuration to define the constraints when detecting vulnerable dependencies.
- display
Name This property is required. String - A filter to return only resources that match the entire display name given.
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.
- is
Run Triggered On Kb Change This property is required. Boolean - Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
- knowledge
Base Id This property is required. String - The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configurations 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.
- scm
Configurations 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.
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"}
- time
Created This property is required. String - The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- time
Updated This property is required. String - The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- verify
Configurations 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.
- Max
Permissible Cvss V2score 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.
- Max
Permissible Cvss V3score 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.
- Max
Permissible Severity This property is required. string - The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- Upgrade
Policy 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.
- Max
Permissible Cvss V2score 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.
- Max
Permissible Cvss V3score 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.
- Max
Permissible Severity This property is required. string - The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- Upgrade
Policy 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.
- max
Permissible Cvss V2score 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.
- max
Permissible Cvss V3score 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.
- max
Permissible Severity This property is required. String - The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- upgrade
Policy 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.
- max
Permissible Cvss V2score 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.
- max
Permissible Cvss V3score 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.
- max
Permissible Severity This property is required. string - The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- upgrade
Policy 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.
- max
Permissible Cvss V2score 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.
- max
Permissible Cvss V3score 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.
- max
Permissible Severity This property is required. String - The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- upgrade
Policy 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
GetRemediationRecipesRemediationRecipeCollectionItemScmConfiguration
- Branch
This property is required. string - The branch used by ADM to patch vulnerabilities.
- Build
File Location 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.
- External
Scm Type This property is required. string - 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. string - The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- Pat
Secret Id 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.
- Repository
Url 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]
- Scm
Type 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.
- Build
File Location 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.
- External
Scm Type This property is required. string - 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. string - The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- Pat
Secret Id 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.
- Repository
Url 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]
- Scm
Type 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.
- build
File Location 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.
- external
Scm Type This property is required. String - The type of External Source Code Management.
- is
Automerge Enabled 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.
- oci
Code Repository Id This property is required. String - The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- pat
Secret Id 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.
- repository
Url 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]
- scm
Type 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.
- build
File Location 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.
- external
Scm Type This property is required. string - The type of External Source Code Management.
- is
Automerge Enabled 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.
- oci
Code Repository Id This property is required. string - The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- pat
Secret Id 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.
- repository
Url 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]
- scm
Type 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.
- build
File Location 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.
- external
Scm Type This property is required. String - The type of External Source Code Management.
- is
Automerge Enabled 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.
- oci
Code Repository Id This property is required. String - The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- pat
Secret Id 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.
- repository
Url 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]
- scm
Type 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
- Additional
Parameters This property is required. Dictionary<string, string> - Additional key-value pairs passed as parameters to the build service when running an experiment.
- Build
Service Type This property is required. string - The type of Build Service.
- Jenkins
Url This property is required. string - The URL that locates the Jenkins pipeline.
- Job
Name This property is required. string - The name of the Jenkins pipeline job that identifies the build pipeline.
- Pat
Secret Id 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.
- Pipeline
Id This property is required. string - The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- Repository
Url 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]
- Trigger
Secret Id 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.
- Workflow
Name This property is required. string - The name of the GitHub Actions workflow that defines the build pipeline.
- Additional
Parameters This property is required. map[string]string - Additional key-value pairs passed as parameters to the build service when running an experiment.
- Build
Service Type This property is required. string - The type of Build Service.
- Jenkins
Url This property is required. string - The URL that locates the Jenkins pipeline.
- Job
Name This property is required. string - The name of the Jenkins pipeline job that identifies the build pipeline.
- Pat
Secret Id 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.
- Pipeline
Id This property is required. string - The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- Repository
Url 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]
- Trigger
Secret Id 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.
- Workflow
Name This property is required. string - The name of the GitHub Actions workflow that defines the build pipeline.
- additional
Parameters This property is required. Map<String,String> - Additional key-value pairs passed as parameters to the build service when running an experiment.
- build
Service Type This property is required. String - The type of Build Service.
- jenkins
Url This property is required. String - The URL that locates the Jenkins pipeline.
- job
Name This property is required. String - The name of the Jenkins pipeline job that identifies the build pipeline.
- pat
Secret Id 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.
- pipeline
Id This property is required. String - The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- repository
Url 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]
- trigger
Secret Id 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.
- workflow
Name This property is required. String - The name of the GitHub Actions workflow that defines the build pipeline.
- additional
Parameters This property is required. {[key: string]: string} - Additional key-value pairs passed as parameters to the build service when running an experiment.
- build
Service Type This property is required. string - The type of Build Service.
- jenkins
Url This property is required. string - The URL that locates the Jenkins pipeline.
- job
Name This property is required. string - The name of the Jenkins pipeline job that identifies the build pipeline.
- pat
Secret Id 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.
- pipeline
Id This property is required. string - The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- repository
Url 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]
- trigger
Secret Id 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.
- workflow
Name 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.
- additional
Parameters This property is required. Map<String> - Additional key-value pairs passed as parameters to the build service when running an experiment.
- build
Service Type This property is required. String - The type of Build Service.
- jenkins
Url This property is required. String - The URL that locates the Jenkins pipeline.
- job
Name This property is required. String - The name of the Jenkins pipeline job that identifies the build pipeline.
- pat
Secret Id 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.
- pipeline
Id This property is required. String - The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- repository
Url 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]
- trigger
Secret Id 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.
- workflow
Name 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.