Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
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
List<Get
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
[]Get
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
List<Get
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
Get
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
Sequence[adm.
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 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:
- 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
GetRemediationRecipesRemediationRecipeCollectionItem
- 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.
- 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 List<GetRemediation Recipes Remediation Recipe Collection Item Detect Configuration> - A configuration to define the constraints when detecting vulnerable dependencies.
- Display
Name string - A filter to return only resources that match the entire display name given.
- 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 string
- A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
- Is
Run boolTriggered On Kb Change - Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
- Knowledge
Base stringId - The Oracle Cloud Identifier (OCID) of the knowledge base.
- Network
Configurations 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 List<GetRemediation Recipes Remediation Recipe Collection Item Scm Configuration> - A configuration for the Source Code Management tool/platform used by a remediation recipe.
- State string
- A filter to return only Remediation Recipes that match the specified lifecycleState.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- Time
Updated string - The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- Verify
Configurations 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 string - A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
- 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 []GetRemediation Recipes Remediation Recipe Collection Item Detect Configuration - A configuration to define the constraints when detecting vulnerable dependencies.
- Display
Name string - A filter to return only resources that match the entire display name given.
- 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 string
- A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
- Is
Run boolTriggered On Kb Change - Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
- Knowledge
Base stringId - The Oracle Cloud Identifier (OCID) of the knowledge base.
- Network
Configurations []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 []GetRemediation Recipes Remediation Recipe Collection Item Scm Configuration - A configuration for the Source Code Management tool/platform used by a remediation recipe.
- State string
- A filter to return only Remediation Recipes that match the specified lifecycleState.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- Time
Updated string - The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- Verify
Configurations []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 String - A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
- 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 List<GetRemediation Recipes Remediation Recipe Collection Item Detect Configuration> - A configuration to define the constraints when detecting vulnerable dependencies.
- display
Name String - A filter to return only resources that match the entire display name given.
- 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 String
- A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
- is
Run BooleanTriggered On Kb Change - Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
- knowledge
Base StringId - The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configurations 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 List<GetRemediation Recipes Remediation Recipe Collection Item Scm Configuration> - A configuration for the Source Code Management tool/platform used by a remediation recipe.
- state String
- A filter to return only Remediation Recipes that match the specified lifecycleState.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- time
Updated String - The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- verify
Configurations 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 string - A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
- {[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 GetRemediation Recipes Remediation Recipe Collection Item Detect Configuration[] - A configuration to define the constraints when detecting vulnerable dependencies.
- display
Name string - A filter to return only resources that match the entire display name given.
- {[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 string
- A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
- is
Run booleanTriggered On Kb Change - Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
- knowledge
Base stringId - The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configurations 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 GetRemediation Recipes Remediation Recipe Collection Item Scm Configuration[] - A configuration for the Source Code Management tool/platform used by a remediation recipe.
- state string
- A filter to return only Remediation Recipes that match the specified lifecycleState.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- time
Updated string - The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- verify
Configurations 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 str - A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
- 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 Sequence[adm.Get Remediation Recipes Remediation Recipe Collection Item Detect Configuration] - A configuration to define the constraints when detecting vulnerable dependencies.
- display_
name str - A filter to return only resources that match the entire display name given.
- 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 str
- A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
- is_
run_ booltriggered_ on_ kb_ change - Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
- knowledge_
base_ strid - The Oracle Cloud Identifier (OCID) of the knowledge base.
- network_
configurations 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 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 str
- A filter to return only Remediation Recipes that match the specified lifecycleState.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- time_
updated str - The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- verify_
configurations 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 String - A filter to return only resources that belong to the specified compartment identifier. Required only if the id query param is not specified.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- detect
Configurations List<Property Map> - A configuration to define the constraints when detecting vulnerable dependencies.
- display
Name String - A filter to return only resources that match the entire display name given.
- 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 String
- A filter to return only resources that match the specified identifier. Required only if the compartmentId query parameter is not specified.
- is
Run BooleanTriggered On Kb Change - Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
- knowledge
Base StringId - The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configurations 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 List<Property Map> - A configuration for the Source Code Management tool/platform used by a remediation recipe.
- state String
- A filter to return only Remediation Recipes that match the specified lifecycleState.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- time
Updated String - The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- verify
Configurations 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 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 doubleCvss V2score - 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 doubleCvss V3score - 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 stringSeverity - The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- Upgrade
Policy 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 []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 float64Cvss V2score - 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 float64Cvss V3score - 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 stringSeverity - The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- Upgrade
Policy 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 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 DoubleCvss V2score - 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 DoubleCvss V3score - 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 StringSeverity - The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- upgrade
Policy 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 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 numberCvss V2score - 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 numberCvss V3score - 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 stringSeverity - The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- upgrade
Policy 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 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_ floatcvss_ v2score - 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_ floatcvss_ v3score - 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_ strseverity - The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- upgrade_
policy 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 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 NumberCvss V2score - 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 NumberCvss V3score - 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 StringSeverity - The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- upgrade
Policy 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 string
- The branch used by ADM to patch vulnerabilities.
- Build
File stringLocation - 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 stringType - The type of External Source Code Management.
- Is
Automerge boolEnabled - 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 stringRepository Id - The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- Pat
Secret stringId - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- Repository
Url 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 string - The type of Source Code Management.
- Username string
- The username that will be used to authenticate with Jenkins.
- Branch string
- The branch used by ADM to patch vulnerabilities.
- Build
File stringLocation - 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 stringType - The type of External Source Code Management.
- Is
Automerge boolEnabled - 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 stringRepository Id - The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- Pat
Secret stringId - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- Repository
Url 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 string - The type of Source Code Management.
- Username string
- The username that will be used to authenticate with Jenkins.
- branch String
- The branch used by ADM to patch vulnerabilities.
- build
File StringLocation - 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 StringType - The type of External Source Code Management.
- is
Automerge BooleanEnabled - 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 StringRepository Id - The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- pat
Secret StringId - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- repository
Url 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 String - The type of Source Code Management.
- username String
- The username that will be used to authenticate with Jenkins.
- branch string
- The branch used by ADM to patch vulnerabilities.
- build
File stringLocation - 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 stringType - The type of External Source Code Management.
- is
Automerge booleanEnabled - 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 stringRepository Id - The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- pat
Secret stringId - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- repository
Url 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 string - The type of Source Code Management.
- username string
- The username that will be used to authenticate with Jenkins.
- branch str
- The branch used by ADM to patch vulnerabilities.
- build_
file_ strlocation - 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_ strtype - The type of External Source Code Management.
- is_
automerge_ boolenabled - 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_ strrepository_ id - The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- pat_
secret_ strid - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- repository_
url 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 str - The type of Source Code Management.
- username str
- The username that will be used to authenticate with Jenkins.
- branch String
- The branch used by ADM to patch vulnerabilities.
- build
File StringLocation - 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 StringType - The type of External Source Code Management.
- is
Automerge BooleanEnabled - 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 StringRepository Id - The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- pat
Secret StringId - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- repository
Url 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 String - The type of Source Code Management.
- username String
- The username that will be used to authenticate with Jenkins.
GetRemediationRecipesRemediationRecipeCollectionItemVerifyConfiguration
- Additional
Parameters Dictionary<string, string> - Additional key-value pairs passed as parameters to the build service when running an experiment.
- Build
Service stringType - The type of Build Service.
- Jenkins
Url string - The URL that locates the Jenkins pipeline.
- Job
Name string - The name of the Jenkins pipeline job that identifies the build pipeline.
- Pat
Secret stringId - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- Pipeline
Id string - The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- Repository
Url 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 stringId - The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- Username string
- The username that will be used to authenticate with Jenkins.
- Workflow
Name string - The name of the GitHub Actions workflow that defines the build pipeline.
- Additional
Parameters map[string]string - Additional key-value pairs passed as parameters to the build service when running an experiment.
- Build
Service stringType - The type of Build Service.
- Jenkins
Url string - The URL that locates the Jenkins pipeline.
- Job
Name string - The name of the Jenkins pipeline job that identifies the build pipeline.
- Pat
Secret stringId - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- Pipeline
Id string - The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- Repository
Url 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 stringId - The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- Username string
- The username that will be used to authenticate with Jenkins.
- Workflow
Name string - The name of the GitHub Actions workflow that defines the build pipeline.
- additional
Parameters Map<String,String> - Additional key-value pairs passed as parameters to the build service when running an experiment.
- build
Service StringType - The type of Build Service.
- jenkins
Url String - The URL that locates the Jenkins pipeline.
- job
Name String - The name of the Jenkins pipeline job that identifies the build pipeline.
- pat
Secret StringId - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- pipeline
Id String - The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- repository
Url 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 StringId - The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- username String
- The username that will be used to authenticate with Jenkins.
- workflow
Name String - The name of the GitHub Actions workflow that defines the build pipeline.
- additional
Parameters {[key: string]: string} - Additional key-value pairs passed as parameters to the build service when running an experiment.
- build
Service stringType - The type of Build Service.
- jenkins
Url string - The URL that locates the Jenkins pipeline.
- job
Name string - The name of the Jenkins pipeline job that identifies the build pipeline.
- pat
Secret stringId - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- pipeline
Id string - The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- repository
Url 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 stringId - The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- username string
- The username that will be used to authenticate with Jenkins.
- workflow
Name string - The name of the GitHub Actions workflow that defines the build pipeline.
- additional_
parameters Mapping[str, str] - Additional key-value pairs passed as parameters to the build service when running an experiment.
- build_
service_ strtype - The type of Build Service.
- jenkins_
url str - The URL that locates the Jenkins pipeline.
- job_
name str - The name of the Jenkins pipeline job that identifies the build pipeline.
- pat_
secret_ strid - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- pipeline_
id str - The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- repository_
url 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_ strid - The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- username str
- The username that will be used to authenticate with Jenkins.
- workflow_
name str - The name of the GitHub Actions workflow that defines the build pipeline.
- additional
Parameters Map<String> - Additional key-value pairs passed as parameters to the build service when running an experiment.
- build
Service StringType - The type of Build Service.
- jenkins
Url String - The URL that locates the Jenkins pipeline.
- job
Name String - The name of the Jenkins pipeline job that identifies the build pipeline.
- pat
Secret StringId - The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
- pipeline
Id String - The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- repository
Url 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 StringId - The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- username String
- The username that will be used to authenticate with Jenkins.
- workflow
Name 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.