oci.Adm.RemediationRecipe
Explore with Pulumi AI
This resource provides the Remediation Recipe resource in Oracle Cloud Infrastructure Adm service.
Creates a new Remediation Recipe.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testRemediationRecipe = new oci.adm.RemediationRecipe("test_remediation_recipe", {
compartmentId: compartmentId,
detectConfiguration: {
exclusions: remediationRecipeDetectConfigurationExclusions,
maxPermissibleCvssV2score: remediationRecipeDetectConfigurationMaxPermissibleCvssV2score,
maxPermissibleCvssV3score: remediationRecipeDetectConfigurationMaxPermissibleCvssV3score,
maxPermissibleSeverity: remediationRecipeDetectConfigurationMaxPermissibleSeverity,
upgradePolicy: remediationRecipeDetectConfigurationUpgradePolicy,
},
isRunTriggeredOnKbChange: remediationRecipeIsRunTriggeredOnKbChange,
knowledgeBaseId: testKnowledgeBase.id,
networkConfiguration: {
subnetId: testSubnet.id,
nsgIds: remediationRecipeNetworkConfigurationNsgIds,
},
scmConfiguration: {
branch: remediationRecipeScmConfigurationBranch,
isAutomergeEnabled: remediationRecipeScmConfigurationIsAutomergeEnabled,
scmType: remediationRecipeScmConfigurationScmType,
buildFileLocation: remediationRecipeScmConfigurationBuildFileLocation,
externalScmType: remediationRecipeScmConfigurationExternalScmType,
ociCodeRepositoryId: testRepository.id,
patSecretId: testSecret.id,
repositoryUrl: remediationRecipeScmConfigurationRepositoryUrl,
username: remediationRecipeScmConfigurationUsername,
},
verifyConfiguration: {
buildServiceType: remediationRecipeVerifyConfigurationBuildServiceType,
additionalParameters: remediationRecipeVerifyConfigurationAdditionalParameters,
jenkinsUrl: remediationRecipeVerifyConfigurationJenkinsUrl,
jobName: testJob.name,
patSecretId: testSecret.id,
pipelineId: testPipeline.id,
repositoryUrl: remediationRecipeVerifyConfigurationRepositoryUrl,
triggerSecretId: testSecret.id,
username: remediationRecipeVerifyConfigurationUsername,
workflowName: remediationRecipeVerifyConfigurationWorkflowName,
},
definedTags: {
"foo-namespace.bar-key": "value",
},
displayName: remediationRecipeDisplayName,
freeformTags: {
"bar-key": "value",
},
});
import pulumi
import pulumi_oci as oci
test_remediation_recipe = oci.adm.RemediationRecipe("test_remediation_recipe",
compartment_id=compartment_id,
detect_configuration=oci.adm.RemediationRecipeDetectConfigurationArgs(
exclusions=remediation_recipe_detect_configuration_exclusions,
max_permissible_cvss_v2score=remediation_recipe_detect_configuration_max_permissible_cvss_v2score,
max_permissible_cvss_v3score=remediation_recipe_detect_configuration_max_permissible_cvss_v3score,
max_permissible_severity=remediation_recipe_detect_configuration_max_permissible_severity,
upgrade_policy=remediation_recipe_detect_configuration_upgrade_policy,
),
is_run_triggered_on_kb_change=remediation_recipe_is_run_triggered_on_kb_change,
knowledge_base_id=test_knowledge_base["id"],
network_configuration=oci.adm.RemediationRecipeNetworkConfigurationArgs(
subnet_id=test_subnet["id"],
nsg_ids=remediation_recipe_network_configuration_nsg_ids,
),
scm_configuration=oci.adm.RemediationRecipeScmConfigurationArgs(
branch=remediation_recipe_scm_configuration_branch,
is_automerge_enabled=remediation_recipe_scm_configuration_is_automerge_enabled,
scm_type=remediation_recipe_scm_configuration_scm_type,
build_file_location=remediation_recipe_scm_configuration_build_file_location,
external_scm_type=remediation_recipe_scm_configuration_external_scm_type,
oci_code_repository_id=test_repository["id"],
pat_secret_id=test_secret["id"],
repository_url=remediation_recipe_scm_configuration_repository_url,
username=remediation_recipe_scm_configuration_username,
),
verify_configuration=oci.adm.RemediationRecipeVerifyConfigurationArgs(
build_service_type=remediation_recipe_verify_configuration_build_service_type,
additional_parameters=remediation_recipe_verify_configuration_additional_parameters,
jenkins_url=remediation_recipe_verify_configuration_jenkins_url,
job_name=test_job["name"],
pat_secret_id=test_secret["id"],
pipeline_id=test_pipeline["id"],
repository_url=remediation_recipe_verify_configuration_repository_url,
trigger_secret_id=test_secret["id"],
username=remediation_recipe_verify_configuration_username,
workflow_name=remediation_recipe_verify_configuration_workflow_name,
),
defined_tags={
"foo-namespace.bar-key": "value",
},
display_name=remediation_recipe_display_name,
freeform_tags={
"bar-key": "value",
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Adm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Adm.NewRemediationRecipe(ctx, "test_remediation_recipe", &Adm.RemediationRecipeArgs{
CompartmentId: pulumi.Any(compartmentId),
DetectConfiguration: &adm.RemediationRecipeDetectConfigurationArgs{
Exclusions: pulumi.Any(remediationRecipeDetectConfigurationExclusions),
MaxPermissibleCvssV2score: pulumi.Any(remediationRecipeDetectConfigurationMaxPermissibleCvssV2score),
MaxPermissibleCvssV3score: pulumi.Any(remediationRecipeDetectConfigurationMaxPermissibleCvssV3score),
MaxPermissibleSeverity: pulumi.Any(remediationRecipeDetectConfigurationMaxPermissibleSeverity),
UpgradePolicy: pulumi.Any(remediationRecipeDetectConfigurationUpgradePolicy),
},
IsRunTriggeredOnKbChange: pulumi.Any(remediationRecipeIsRunTriggeredOnKbChange),
KnowledgeBaseId: pulumi.Any(testKnowledgeBase.Id),
NetworkConfiguration: &adm.RemediationRecipeNetworkConfigurationArgs{
SubnetId: pulumi.Any(testSubnet.Id),
NsgIds: pulumi.Any(remediationRecipeNetworkConfigurationNsgIds),
},
ScmConfiguration: &adm.RemediationRecipeScmConfigurationArgs{
Branch: pulumi.Any(remediationRecipeScmConfigurationBranch),
IsAutomergeEnabled: pulumi.Any(remediationRecipeScmConfigurationIsAutomergeEnabled),
ScmType: pulumi.Any(remediationRecipeScmConfigurationScmType),
BuildFileLocation: pulumi.Any(remediationRecipeScmConfigurationBuildFileLocation),
ExternalScmType: pulumi.Any(remediationRecipeScmConfigurationExternalScmType),
OciCodeRepositoryId: pulumi.Any(testRepository.Id),
PatSecretId: pulumi.Any(testSecret.Id),
RepositoryUrl: pulumi.Any(remediationRecipeScmConfigurationRepositoryUrl),
Username: pulumi.Any(remediationRecipeScmConfigurationUsername),
},
VerifyConfiguration: &adm.RemediationRecipeVerifyConfigurationArgs{
BuildServiceType: pulumi.Any(remediationRecipeVerifyConfigurationBuildServiceType),
AdditionalParameters: pulumi.Any(remediationRecipeVerifyConfigurationAdditionalParameters),
JenkinsUrl: pulumi.Any(remediationRecipeVerifyConfigurationJenkinsUrl),
JobName: pulumi.Any(testJob.Name),
PatSecretId: pulumi.Any(testSecret.Id),
PipelineId: pulumi.Any(testPipeline.Id),
RepositoryUrl: pulumi.Any(remediationRecipeVerifyConfigurationRepositoryUrl),
TriggerSecretId: pulumi.Any(testSecret.Id),
Username: pulumi.Any(remediationRecipeVerifyConfigurationUsername),
WorkflowName: pulumi.Any(remediationRecipeVerifyConfigurationWorkflowName),
},
DefinedTags: pulumi.Map{
"foo-namespace.bar-key": pulumi.Any("value"),
},
DisplayName: pulumi.Any(remediationRecipeDisplayName),
FreeformTags: pulumi.Map{
"bar-key": pulumi.Any("value"),
},
})
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 testRemediationRecipe = new Oci.Adm.RemediationRecipe("test_remediation_recipe", new()
{
CompartmentId = compartmentId,
DetectConfiguration = new Oci.Adm.Inputs.RemediationRecipeDetectConfigurationArgs
{
Exclusions = remediationRecipeDetectConfigurationExclusions,
MaxPermissibleCvssV2score = remediationRecipeDetectConfigurationMaxPermissibleCvssV2score,
MaxPermissibleCvssV3score = remediationRecipeDetectConfigurationMaxPermissibleCvssV3score,
MaxPermissibleSeverity = remediationRecipeDetectConfigurationMaxPermissibleSeverity,
UpgradePolicy = remediationRecipeDetectConfigurationUpgradePolicy,
},
IsRunTriggeredOnKbChange = remediationRecipeIsRunTriggeredOnKbChange,
KnowledgeBaseId = testKnowledgeBase.Id,
NetworkConfiguration = new Oci.Adm.Inputs.RemediationRecipeNetworkConfigurationArgs
{
SubnetId = testSubnet.Id,
NsgIds = remediationRecipeNetworkConfigurationNsgIds,
},
ScmConfiguration = new Oci.Adm.Inputs.RemediationRecipeScmConfigurationArgs
{
Branch = remediationRecipeScmConfigurationBranch,
IsAutomergeEnabled = remediationRecipeScmConfigurationIsAutomergeEnabled,
ScmType = remediationRecipeScmConfigurationScmType,
BuildFileLocation = remediationRecipeScmConfigurationBuildFileLocation,
ExternalScmType = remediationRecipeScmConfigurationExternalScmType,
OciCodeRepositoryId = testRepository.Id,
PatSecretId = testSecret.Id,
RepositoryUrl = remediationRecipeScmConfigurationRepositoryUrl,
Username = remediationRecipeScmConfigurationUsername,
},
VerifyConfiguration = new Oci.Adm.Inputs.RemediationRecipeVerifyConfigurationArgs
{
BuildServiceType = remediationRecipeVerifyConfigurationBuildServiceType,
AdditionalParameters = remediationRecipeVerifyConfigurationAdditionalParameters,
JenkinsUrl = remediationRecipeVerifyConfigurationJenkinsUrl,
JobName = testJob.Name,
PatSecretId = testSecret.Id,
PipelineId = testPipeline.Id,
RepositoryUrl = remediationRecipeVerifyConfigurationRepositoryUrl,
TriggerSecretId = testSecret.Id,
Username = remediationRecipeVerifyConfigurationUsername,
WorkflowName = remediationRecipeVerifyConfigurationWorkflowName,
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
DisplayName = remediationRecipeDisplayName,
FreeformTags =
{
{ "bar-key", "value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Adm.RemediationRecipe;
import com.pulumi.oci.Adm.RemediationRecipeArgs;
import com.pulumi.oci.Adm.inputs.RemediationRecipeDetectConfigurationArgs;
import com.pulumi.oci.Adm.inputs.RemediationRecipeNetworkConfigurationArgs;
import com.pulumi.oci.Adm.inputs.RemediationRecipeScmConfigurationArgs;
import com.pulumi.oci.Adm.inputs.RemediationRecipeVerifyConfigurationArgs;
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) {
var testRemediationRecipe = new RemediationRecipe("testRemediationRecipe", RemediationRecipeArgs.builder()
.compartmentId(compartmentId)
.detectConfiguration(RemediationRecipeDetectConfigurationArgs.builder()
.exclusions(remediationRecipeDetectConfigurationExclusions)
.maxPermissibleCvssV2score(remediationRecipeDetectConfigurationMaxPermissibleCvssV2score)
.maxPermissibleCvssV3score(remediationRecipeDetectConfigurationMaxPermissibleCvssV3score)
.maxPermissibleSeverity(remediationRecipeDetectConfigurationMaxPermissibleSeverity)
.upgradePolicy(remediationRecipeDetectConfigurationUpgradePolicy)
.build())
.isRunTriggeredOnKbChange(remediationRecipeIsRunTriggeredOnKbChange)
.knowledgeBaseId(testKnowledgeBase.id())
.networkConfiguration(RemediationRecipeNetworkConfigurationArgs.builder()
.subnetId(testSubnet.id())
.nsgIds(remediationRecipeNetworkConfigurationNsgIds)
.build())
.scmConfiguration(RemediationRecipeScmConfigurationArgs.builder()
.branch(remediationRecipeScmConfigurationBranch)
.isAutomergeEnabled(remediationRecipeScmConfigurationIsAutomergeEnabled)
.scmType(remediationRecipeScmConfigurationScmType)
.buildFileLocation(remediationRecipeScmConfigurationBuildFileLocation)
.externalScmType(remediationRecipeScmConfigurationExternalScmType)
.ociCodeRepositoryId(testRepository.id())
.patSecretId(testSecret.id())
.repositoryUrl(remediationRecipeScmConfigurationRepositoryUrl)
.username(remediationRecipeScmConfigurationUsername)
.build())
.verifyConfiguration(RemediationRecipeVerifyConfigurationArgs.builder()
.buildServiceType(remediationRecipeVerifyConfigurationBuildServiceType)
.additionalParameters(remediationRecipeVerifyConfigurationAdditionalParameters)
.jenkinsUrl(remediationRecipeVerifyConfigurationJenkinsUrl)
.jobName(testJob.name())
.patSecretId(testSecret.id())
.pipelineId(testPipeline.id())
.repositoryUrl(remediationRecipeVerifyConfigurationRepositoryUrl)
.triggerSecretId(testSecret.id())
.username(remediationRecipeVerifyConfigurationUsername)
.workflowName(remediationRecipeVerifyConfigurationWorkflowName)
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.displayName(remediationRecipeDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.build());
}
}
resources:
testRemediationRecipe:
type: oci:Adm:RemediationRecipe
name: test_remediation_recipe
properties:
compartmentId: ${compartmentId}
detectConfiguration:
exclusions: ${remediationRecipeDetectConfigurationExclusions}
maxPermissibleCvssV2score: ${remediationRecipeDetectConfigurationMaxPermissibleCvssV2score}
maxPermissibleCvssV3score: ${remediationRecipeDetectConfigurationMaxPermissibleCvssV3score}
maxPermissibleSeverity: ${remediationRecipeDetectConfigurationMaxPermissibleSeverity}
upgradePolicy: ${remediationRecipeDetectConfigurationUpgradePolicy}
isRunTriggeredOnKbChange: ${remediationRecipeIsRunTriggeredOnKbChange}
knowledgeBaseId: ${testKnowledgeBase.id}
networkConfiguration:
subnetId: ${testSubnet.id}
nsgIds: ${remediationRecipeNetworkConfigurationNsgIds}
scmConfiguration:
branch: ${remediationRecipeScmConfigurationBranch}
isAutomergeEnabled: ${remediationRecipeScmConfigurationIsAutomergeEnabled}
scmType: ${remediationRecipeScmConfigurationScmType}
buildFileLocation: ${remediationRecipeScmConfigurationBuildFileLocation}
externalScmType: ${remediationRecipeScmConfigurationExternalScmType}
ociCodeRepositoryId: ${testRepository.id}
patSecretId: ${testSecret.id}
repositoryUrl: ${remediationRecipeScmConfigurationRepositoryUrl}
username: ${remediationRecipeScmConfigurationUsername}
verifyConfiguration:
buildServiceType: ${remediationRecipeVerifyConfigurationBuildServiceType}
additionalParameters: ${remediationRecipeVerifyConfigurationAdditionalParameters}
jenkinsUrl: ${remediationRecipeVerifyConfigurationJenkinsUrl}
jobName: ${testJob.name}
patSecretId: ${testSecret.id}
pipelineId: ${testPipeline.id}
repositoryUrl: ${remediationRecipeVerifyConfigurationRepositoryUrl}
triggerSecretId: ${testSecret.id}
username: ${remediationRecipeVerifyConfigurationUsername}
workflowName: ${remediationRecipeVerifyConfigurationWorkflowName}
definedTags:
foo-namespace.bar-key: value
displayName: ${remediationRecipeDisplayName}
freeformTags:
bar-key: value
Create RemediationRecipe Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RemediationRecipe(name: string, args: RemediationRecipeArgs, opts?: CustomResourceOptions);
@overload
def RemediationRecipe(resource_name: str,
args: RemediationRecipeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RemediationRecipe(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
detect_configuration: Optional[_adm.RemediationRecipeDetectConfigurationArgs] = None,
is_run_triggered_on_kb_change: Optional[bool] = None,
knowledge_base_id: Optional[str] = None,
network_configuration: Optional[_adm.RemediationRecipeNetworkConfigurationArgs] = None,
scm_configuration: Optional[_adm.RemediationRecipeScmConfigurationArgs] = None,
verify_configuration: Optional[_adm.RemediationRecipeVerifyConfigurationArgs] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
state: Optional[str] = None)
func NewRemediationRecipe(ctx *Context, name string, args RemediationRecipeArgs, opts ...ResourceOption) (*RemediationRecipe, error)
public RemediationRecipe(string name, RemediationRecipeArgs args, CustomResourceOptions? opts = null)
public RemediationRecipe(String name, RemediationRecipeArgs args)
public RemediationRecipe(String name, RemediationRecipeArgs args, CustomResourceOptions options)
type: oci:Adm:RemediationRecipe
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RemediationRecipeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RemediationRecipeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RemediationRecipeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RemediationRecipeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RemediationRecipeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var remediationRecipeResource = new Oci.Adm.RemediationRecipe("remediationRecipeResource", new()
{
CompartmentId = "string",
DetectConfiguration = new Oci.Adm.Inputs.RemediationRecipeDetectConfigurationArgs
{
Exclusions = new[]
{
"string",
},
MaxPermissibleCvssV2score = 0,
MaxPermissibleCvssV3score = 0,
MaxPermissibleSeverity = "string",
UpgradePolicy = "string",
},
IsRunTriggeredOnKbChange = false,
KnowledgeBaseId = "string",
NetworkConfiguration = new Oci.Adm.Inputs.RemediationRecipeNetworkConfigurationArgs
{
SubnetId = "string",
NsgIds = new[]
{
"string",
},
},
ScmConfiguration = new Oci.Adm.Inputs.RemediationRecipeScmConfigurationArgs
{
Branch = "string",
IsAutomergeEnabled = false,
ScmType = "string",
BuildFileLocation = "string",
ExternalScmType = "string",
OciCodeRepositoryId = "string",
PatSecretId = "string",
RepositoryUrl = "string",
Username = "string",
},
VerifyConfiguration = new Oci.Adm.Inputs.RemediationRecipeVerifyConfigurationArgs
{
BuildServiceType = "string",
AdditionalParameters =
{
{ "string", "any" },
},
JenkinsUrl = "string",
JobName = "string",
PatSecretId = "string",
PipelineId = "string",
RepositoryUrl = "string",
TriggerSecretId = "string",
Username = "string",
WorkflowName = "string",
},
DefinedTags =
{
{ "string", "any" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
State = "string",
});
example, err := Adm.NewRemediationRecipe(ctx, "remediationRecipeResource", &Adm.RemediationRecipeArgs{
CompartmentId: pulumi.String("string"),
DetectConfiguration: &adm.RemediationRecipeDetectConfigurationArgs{
Exclusions: pulumi.StringArray{
pulumi.String("string"),
},
MaxPermissibleCvssV2score: pulumi.Float64(0),
MaxPermissibleCvssV3score: pulumi.Float64(0),
MaxPermissibleSeverity: pulumi.String("string"),
UpgradePolicy: pulumi.String("string"),
},
IsRunTriggeredOnKbChange: pulumi.Bool(false),
KnowledgeBaseId: pulumi.String("string"),
NetworkConfiguration: &adm.RemediationRecipeNetworkConfigurationArgs{
SubnetId: pulumi.String("string"),
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
},
ScmConfiguration: &adm.RemediationRecipeScmConfigurationArgs{
Branch: pulumi.String("string"),
IsAutomergeEnabled: pulumi.Bool(false),
ScmType: pulumi.String("string"),
BuildFileLocation: pulumi.String("string"),
ExternalScmType: pulumi.String("string"),
OciCodeRepositoryId: pulumi.String("string"),
PatSecretId: pulumi.String("string"),
RepositoryUrl: pulumi.String("string"),
Username: pulumi.String("string"),
},
VerifyConfiguration: &adm.RemediationRecipeVerifyConfigurationArgs{
BuildServiceType: pulumi.String("string"),
AdditionalParameters: pulumi.Map{
"string": pulumi.Any("any"),
},
JenkinsUrl: pulumi.String("string"),
JobName: pulumi.String("string"),
PatSecretId: pulumi.String("string"),
PipelineId: pulumi.String("string"),
RepositoryUrl: pulumi.String("string"),
TriggerSecretId: pulumi.String("string"),
Username: pulumi.String("string"),
WorkflowName: pulumi.String("string"),
},
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
State: pulumi.String("string"),
})
var remediationRecipeResource = new RemediationRecipe("remediationRecipeResource", RemediationRecipeArgs.builder()
.compartmentId("string")
.detectConfiguration(RemediationRecipeDetectConfigurationArgs.builder()
.exclusions("string")
.maxPermissibleCvssV2score(0)
.maxPermissibleCvssV3score(0)
.maxPermissibleSeverity("string")
.upgradePolicy("string")
.build())
.isRunTriggeredOnKbChange(false)
.knowledgeBaseId("string")
.networkConfiguration(RemediationRecipeNetworkConfigurationArgs.builder()
.subnetId("string")
.nsgIds("string")
.build())
.scmConfiguration(RemediationRecipeScmConfigurationArgs.builder()
.branch("string")
.isAutomergeEnabled(false)
.scmType("string")
.buildFileLocation("string")
.externalScmType("string")
.ociCodeRepositoryId("string")
.patSecretId("string")
.repositoryUrl("string")
.username("string")
.build())
.verifyConfiguration(RemediationRecipeVerifyConfigurationArgs.builder()
.buildServiceType("string")
.additionalParameters(Map.of("string", "any"))
.jenkinsUrl("string")
.jobName("string")
.patSecretId("string")
.pipelineId("string")
.repositoryUrl("string")
.triggerSecretId("string")
.username("string")
.workflowName("string")
.build())
.definedTags(Map.of("string", "any"))
.displayName("string")
.freeformTags(Map.of("string", "any"))
.state("string")
.build());
remediation_recipe_resource = oci.adm.RemediationRecipe("remediationRecipeResource",
compartment_id="string",
detect_configuration=oci.adm.RemediationRecipeDetectConfigurationArgs(
exclusions=["string"],
max_permissible_cvss_v2score=0,
max_permissible_cvss_v3score=0,
max_permissible_severity="string",
upgrade_policy="string",
),
is_run_triggered_on_kb_change=False,
knowledge_base_id="string",
network_configuration=oci.adm.RemediationRecipeNetworkConfigurationArgs(
subnet_id="string",
nsg_ids=["string"],
),
scm_configuration=oci.adm.RemediationRecipeScmConfigurationArgs(
branch="string",
is_automerge_enabled=False,
scm_type="string",
build_file_location="string",
external_scm_type="string",
oci_code_repository_id="string",
pat_secret_id="string",
repository_url="string",
username="string",
),
verify_configuration=oci.adm.RemediationRecipeVerifyConfigurationArgs(
build_service_type="string",
additional_parameters={
"string": "any",
},
jenkins_url="string",
job_name="string",
pat_secret_id="string",
pipeline_id="string",
repository_url="string",
trigger_secret_id="string",
username="string",
workflow_name="string",
),
defined_tags={
"string": "any",
},
display_name="string",
freeform_tags={
"string": "any",
},
state="string")
const remediationRecipeResource = new oci.adm.RemediationRecipe("remediationRecipeResource", {
compartmentId: "string",
detectConfiguration: {
exclusions: ["string"],
maxPermissibleCvssV2score: 0,
maxPermissibleCvssV3score: 0,
maxPermissibleSeverity: "string",
upgradePolicy: "string",
},
isRunTriggeredOnKbChange: false,
knowledgeBaseId: "string",
networkConfiguration: {
subnetId: "string",
nsgIds: ["string"],
},
scmConfiguration: {
branch: "string",
isAutomergeEnabled: false,
scmType: "string",
buildFileLocation: "string",
externalScmType: "string",
ociCodeRepositoryId: "string",
patSecretId: "string",
repositoryUrl: "string",
username: "string",
},
verifyConfiguration: {
buildServiceType: "string",
additionalParameters: {
string: "any",
},
jenkinsUrl: "string",
jobName: "string",
patSecretId: "string",
pipelineId: "string",
repositoryUrl: "string",
triggerSecretId: "string",
username: "string",
workflowName: "string",
},
definedTags: {
string: "any",
},
displayName: "string",
freeformTags: {
string: "any",
},
state: "string",
});
type: oci:Adm:RemediationRecipe
properties:
compartmentId: string
definedTags:
string: any
detectConfiguration:
exclusions:
- string
maxPermissibleCvssV2score: 0
maxPermissibleCvssV3score: 0
maxPermissibleSeverity: string
upgradePolicy: string
displayName: string
freeformTags:
string: any
isRunTriggeredOnKbChange: false
knowledgeBaseId: string
networkConfiguration:
nsgIds:
- string
subnetId: string
scmConfiguration:
branch: string
buildFileLocation: string
externalScmType: string
isAutomergeEnabled: false
ociCodeRepositoryId: string
patSecretId: string
repositoryUrl: string
scmType: string
username: string
state: string
verifyConfiguration:
additionalParameters:
string: any
buildServiceType: string
jenkinsUrl: string
jobName: string
patSecretId: string
pipelineId: string
repositoryUrl: string
triggerSecretId: string
username: string
workflowName: string
RemediationRecipe Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The RemediationRecipe resource accepts the following input properties:
- Compartment
Id string - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- Detect
Configuration RemediationRecipe Detect Configuration - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- Is
Run boolTriggered On Kb Change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- Knowledge
Base stringId - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- Network
Configuration RemediationRecipe Network Configuration - (Updatable) 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
Configuration RemediationRecipe Scm Configuration - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- Verify
Configuration RemediationRecipe Verify Configuration - (Updatable) 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.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) The name of the remediation recipe.
- Dictionary<string, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- State string
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Compartment
Id string - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- Detect
Configuration RemediationRecipe Detect Configuration Args - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- Is
Run boolTriggered On Kb Change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- Knowledge
Base stringId - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- Network
Configuration RemediationRecipe Network Configuration Args - (Updatable) 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
Configuration RemediationRecipe Scm Configuration Args - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- Verify
Configuration RemediationRecipe Verify Configuration Args - (Updatable) 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.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) The name of the remediation recipe.
- map[string]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- State string
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- detect
Configuration RemediationRecipe Detect Configuration - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- is
Run BooleanTriggered On Kb Change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- knowledge
Base StringId - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configuration RemediationRecipe Network Configuration - (Updatable) 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
Configuration RemediationRecipe Scm Configuration - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- verify
Configuration RemediationRecipe Verify Configuration - (Updatable) 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.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) The name of the remediation recipe.
- Map<String,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- state String
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id string - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- detect
Configuration RemediationRecipe Detect Configuration - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- is
Run booleanTriggered On Kb Change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- knowledge
Base stringId - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configuration RemediationRecipe Network Configuration - (Updatable) 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
Configuration RemediationRecipe Scm Configuration - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- verify
Configuration RemediationRecipe Verify Configuration - (Updatable) 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.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) The name of the remediation recipe.
- {[key: string]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- state string
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- detect_
configuration adm.Remediation Recipe Detect Configuration Args - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- is_
run_ booltriggered_ on_ kb_ change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- knowledge_
base_ strid - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- network_
configuration adm.Remediation Recipe Network Configuration Args - (Updatable) 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_
configuration adm.Remediation Recipe Scm Configuration Args - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- verify_
configuration adm.Remediation Recipe Verify Configuration Args - (Updatable) 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.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) The name of the remediation recipe.
- Mapping[str, Any]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- state str
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- detect
Configuration Property Map - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- is
Run BooleanTriggered On Kb Change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- knowledge
Base StringId - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configuration Property Map - (Updatable) 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
Configuration Property Map - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- verify
Configuration Property Map - (Updatable) 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.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) The name of the remediation recipe.
- Map<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- state String
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the RemediationRecipe resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, object>
- 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).
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]interface{}
- 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).
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,Object>
- 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).
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: any}
- 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).
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, Any]
- 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).
- id String
- The provider-assigned unique ID for this managed resource.
- Map<Any>
- 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).
Look up Existing RemediationRecipe Resource
Get an existing RemediationRecipe resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RemediationRecipeState, opts?: CustomResourceOptions): RemediationRecipe
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
detect_configuration: Optional[_adm.RemediationRecipeDetectConfigurationArgs] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_run_triggered_on_kb_change: Optional[bool] = None,
knowledge_base_id: Optional[str] = None,
network_configuration: Optional[_adm.RemediationRecipeNetworkConfigurationArgs] = None,
scm_configuration: Optional[_adm.RemediationRecipeScmConfigurationArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
verify_configuration: Optional[_adm.RemediationRecipeVerifyConfigurationArgs] = None) -> RemediationRecipe
func GetRemediationRecipe(ctx *Context, name string, id IDInput, state *RemediationRecipeState, opts ...ResourceOption) (*RemediationRecipe, error)
public static RemediationRecipe Get(string name, Input<string> id, RemediationRecipeState? state, CustomResourceOptions? opts = null)
public static RemediationRecipe get(String name, Output<String> id, RemediationRecipeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Detect
Configuration RemediationRecipe Detect Configuration - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- Display
Name string - (Updatable) The name of the remediation recipe.
- Dictionary<string, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Run boolTriggered On Kb Change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- Knowledge
Base stringId - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- Network
Configuration RemediationRecipe Network Configuration - (Updatable) 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
Configuration RemediationRecipe Scm Configuration - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- State string
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, object>
- 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
Configuration RemediationRecipe Verify Configuration - (Updatable) 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 - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Detect
Configuration RemediationRecipe Detect Configuration Args - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- Display
Name string - (Updatable) The name of the remediation recipe.
- map[string]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Run boolTriggered On Kb Change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- Knowledge
Base stringId - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- Network
Configuration RemediationRecipe Network Configuration Args - (Updatable) 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
Configuration RemediationRecipe Scm Configuration Args - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- State string
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]interface{}
- 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
Configuration RemediationRecipe Verify Configuration Args - (Updatable) 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 - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- detect
Configuration RemediationRecipe Detect Configuration - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- display
Name String - (Updatable) The name of the remediation recipe.
- Map<String,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Run BooleanTriggered On Kb Change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- knowledge
Base StringId - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configuration RemediationRecipe Network Configuration - (Updatable) 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
Configuration RemediationRecipe Scm Configuration - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- state String
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,Object>
- 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
Configuration RemediationRecipe Verify Configuration - (Updatable) 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 - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- detect
Configuration RemediationRecipe Detect Configuration - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- display
Name string - (Updatable) The name of the remediation recipe.
- {[key: string]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Run booleanTriggered On Kb Change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- knowledge
Base stringId - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configuration RemediationRecipe Network Configuration - (Updatable) 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
Configuration RemediationRecipe Scm Configuration - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- state string
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: any}
- 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
Configuration RemediationRecipe Verify Configuration - (Updatable) 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 - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- detect_
configuration adm.Remediation Recipe Detect Configuration Args - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- display_
name str - (Updatable) The name of the remediation recipe.
- Mapping[str, Any]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
run_ booltriggered_ on_ kb_ change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- knowledge_
base_ strid - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- network_
configuration adm.Remediation Recipe Network Configuration Args - (Updatable) 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_
configuration adm.Remediation Recipe Scm Configuration Args - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- state str
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, Any]
- 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_
configuration adm.Remediation Recipe Verify Configuration Args - (Updatable) 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 - (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- detect
Configuration Property Map - (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
- display
Name String - (Updatable) The name of the remediation recipe.
- Map<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Run BooleanTriggered On Kb Change - (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
- knowledge
Base StringId - (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
- network
Configuration Property Map - (Updatable) 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
Configuration Property Map - (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
- state String
(Updatable) The target state for the Remediation Recipe. Could be set to
ACTIVE
orINACTIVE
.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<Any>
- 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
Configuration Property Map - (Updatable) 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.
Supporting Types
RemediationRecipeDetectConfiguration, RemediationRecipeDetectConfigurationArgs
- Exclusions List<string>
- (Updatable) 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 - (Updatable) 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 - (Updatable) 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 - (Updatable) The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- Upgrade
Policy string - (Updatable) 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
- (Updatable) 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 - (Updatable) 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 - (Updatable) 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 - (Updatable) The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- Upgrade
Policy string - (Updatable) 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>
- (Updatable) 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 - (Updatable) 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 - (Updatable) 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 - (Updatable) The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- upgrade
Policy String - (Updatable) 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[]
- (Updatable) 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 - (Updatable) 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 - (Updatable) 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 - (Updatable) The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- upgrade
Policy string - (Updatable) 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]
- (Updatable) 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 - (Updatable) 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 - (Updatable) 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 - (Updatable) The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- upgrade_
policy str - (Updatable) 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>
- (Updatable) 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 - (Updatable) 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 - (Updatable) 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 - (Updatable) The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
- upgrade
Policy String - (Updatable) 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.
RemediationRecipeNetworkConfiguration, RemediationRecipeNetworkConfigurationArgs
RemediationRecipeScmConfiguration, RemediationRecipeScmConfigurationArgs
- Branch string
- (Updatable) The branch used by ADM to patch vulnerabilities.
- Is
Automerge boolEnabled - (Updatable) 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.
- Scm
Type string - (Updatable) The type of Source Code Management.
- Build
File stringLocation - (Updatable) 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 - (Updatable) The type of External Source Code Management.
- Oci
Code stringRepository Id - (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- Pat
Secret stringId - (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
- Repository
Url string - (Updatable) The repository URL for the SCM. 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] For GitLab the expected format is https://gitlab.com/[groupName]/[repoName]
- Username string
- (Updatable) The username for the SCM (to perform operations such as cloning or pushing via HTTP).
- Branch string
- (Updatable) The branch used by ADM to patch vulnerabilities.
- Is
Automerge boolEnabled - (Updatable) 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.
- Scm
Type string - (Updatable) The type of Source Code Management.
- Build
File stringLocation - (Updatable) 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 - (Updatable) The type of External Source Code Management.
- Oci
Code stringRepository Id - (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- Pat
Secret stringId - (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
- Repository
Url string - (Updatable) The repository URL for the SCM. 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] For GitLab the expected format is https://gitlab.com/[groupName]/[repoName]
- Username string
- (Updatable) The username for the SCM (to perform operations such as cloning or pushing via HTTP).
- branch String
- (Updatable) The branch used by ADM to patch vulnerabilities.
- is
Automerge BooleanEnabled - (Updatable) 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.
- scm
Type String - (Updatable) The type of Source Code Management.
- build
File StringLocation - (Updatable) 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 - (Updatable) The type of External Source Code Management.
- oci
Code StringRepository Id - (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- pat
Secret StringId - (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
- repository
Url String - (Updatable) The repository URL for the SCM. 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] For GitLab the expected format is https://gitlab.com/[groupName]/[repoName]
- username String
- (Updatable) The username for the SCM (to perform operations such as cloning or pushing via HTTP).
- branch string
- (Updatable) The branch used by ADM to patch vulnerabilities.
- is
Automerge booleanEnabled - (Updatable) 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.
- scm
Type string - (Updatable) The type of Source Code Management.
- build
File stringLocation - (Updatable) 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 - (Updatable) The type of External Source Code Management.
- oci
Code stringRepository Id - (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- pat
Secret stringId - (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
- repository
Url string - (Updatable) The repository URL for the SCM. 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] For GitLab the expected format is https://gitlab.com/[groupName]/[repoName]
- username string
- (Updatable) The username for the SCM (to perform operations such as cloning or pushing via HTTP).
- branch str
- (Updatable) The branch used by ADM to patch vulnerabilities.
- is_
automerge_ boolenabled - (Updatable) 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.
- scm_
type str - (Updatable) The type of Source Code Management.
- build_
file_ strlocation - (Updatable) 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 - (Updatable) The type of External Source Code Management.
- oci_
code_ strrepository_ id - (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- pat_
secret_ strid - (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
- repository_
url str - (Updatable) The repository URL for the SCM. 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] For GitLab the expected format is https://gitlab.com/[groupName]/[repoName]
- username str
- (Updatable) The username for the SCM (to perform operations such as cloning or pushing via HTTP).
- branch String
- (Updatable) The branch used by ADM to patch vulnerabilities.
- is
Automerge BooleanEnabled - (Updatable) 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.
- scm
Type String - (Updatable) The type of Source Code Management.
- build
File StringLocation - (Updatable) 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 - (Updatable) The type of External Source Code Management.
- oci
Code StringRepository Id - (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
- pat
Secret StringId - (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
- repository
Url String - (Updatable) The repository URL for the SCM. 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] For GitLab the expected format is https://gitlab.com/[groupName]/[repoName]
- username String
- (Updatable) The username for the SCM (to perform operations such as cloning or pushing via HTTP).
RemediationRecipeVerifyConfiguration, RemediationRecipeVerifyConfigurationArgs
- Build
Service stringType - (Updatable) The type of Build Service.
- Additional
Parameters Dictionary<string, object> - (Updatable) Additional key-value pairs passed as parameters to the build service when running an experiment.
- Jenkins
Url string - (Updatable) The URL that locates the Jenkins pipeline.
- Job
Name string - (Updatable) The name of the Jenkins pipeline job that identifies the build pipeline.
- Pat
Secret stringId - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- Repository
Url string - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- Username string
- (Updatable) The username that will be used to authenticate with Jenkins.
- Workflow
Name string - (Updatable) The name of the GitHub Actions workflow that defines the build pipeline.
- Build
Service stringType - (Updatable) The type of Build Service.
- Additional
Parameters map[string]interface{} - (Updatable) Additional key-value pairs passed as parameters to the build service when running an experiment.
- Jenkins
Url string - (Updatable) The URL that locates the Jenkins pipeline.
- Job
Name string - (Updatable) The name of the Jenkins pipeline job that identifies the build pipeline.
- Pat
Secret stringId - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- Repository
Url string - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- Username string
- (Updatable) The username that will be used to authenticate with Jenkins.
- Workflow
Name string - (Updatable) The name of the GitHub Actions workflow that defines the build pipeline.
- build
Service StringType - (Updatable) The type of Build Service.
- additional
Parameters Map<String,Object> - (Updatable) Additional key-value pairs passed as parameters to the build service when running an experiment.
- jenkins
Url String - (Updatable) The URL that locates the Jenkins pipeline.
- job
Name String - (Updatable) The name of the Jenkins pipeline job that identifies the build pipeline.
- pat
Secret StringId - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- repository
Url String - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- username String
- (Updatable) The username that will be used to authenticate with Jenkins.
- workflow
Name String - (Updatable) The name of the GitHub Actions workflow that defines the build pipeline.
- build
Service stringType - (Updatable) The type of Build Service.
- additional
Parameters {[key: string]: any} - (Updatable) Additional key-value pairs passed as parameters to the build service when running an experiment.
- jenkins
Url string - (Updatable) The URL that locates the Jenkins pipeline.
- job
Name string - (Updatable) The name of the Jenkins pipeline job that identifies the build pipeline.
- pat
Secret stringId - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- repository
Url string - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- username string
- (Updatable) The username that will be used to authenticate with Jenkins.
- workflow
Name string - (Updatable) The name of the GitHub Actions workflow that defines the build pipeline.
- build_
service_ strtype - (Updatable) The type of Build Service.
- additional_
parameters Mapping[str, Any] - (Updatable) Additional key-value pairs passed as parameters to the build service when running an experiment.
- jenkins_
url str - (Updatable) The URL that locates the Jenkins pipeline.
- job_
name str - (Updatable) The name of the Jenkins pipeline job that identifies the build pipeline.
- pat_
secret_ strid - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- repository_
url str - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- username str
- (Updatable) The username that will be used to authenticate with Jenkins.
- workflow_
name str - (Updatable) The name of the GitHub Actions workflow that defines the build pipeline.
- build
Service StringType - (Updatable) The type of Build Service.
- additional
Parameters Map<Any> - (Updatable) Additional key-value pairs passed as parameters to the build service when running an experiment.
- jenkins
Url String - (Updatable) The URL that locates the Jenkins pipeline.
- job
Name String - (Updatable) The name of the Jenkins pipeline job that identifies the build pipeline.
- pat
Secret StringId - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
- repository
Url String - (Updatable) 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 - (Updatable) The Oracle Cloud Identifier (OCID) of the trigger Secret. The Secret provides access to the trigger for a GitLab pipeline.
- username String
- (Updatable) The username that will be used to authenticate with Jenkins.
- workflow
Name String - (Updatable) The name of the GitHub Actions workflow that defines the build pipeline.
Import
RemediationRecipes can be imported using the id
, e.g.
$ pulumi import oci:Adm/remediationRecipe:RemediationRecipe test_remediation_recipe "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.