1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Adm
  5. RemediationRecipe
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Adm.RemediationRecipe

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    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:

    CompartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
    DetectConfiguration RemediationRecipeDetectConfiguration
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    IsRunTriggeredOnKbChange bool
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    KnowledgeBaseId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    NetworkConfiguration RemediationRecipeNetworkConfiguration
    (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.
    ScmConfiguration RemediationRecipeScmConfiguration
    (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
    VerifyConfiguration RemediationRecipeVerifyConfiguration
    (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.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The name of the remediation recipe.
    FreeformTags 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 or INACTIVE.

    ** 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

    CompartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
    DetectConfiguration RemediationRecipeDetectConfigurationArgs
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    IsRunTriggeredOnKbChange bool
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    KnowledgeBaseId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    NetworkConfiguration RemediationRecipeNetworkConfigurationArgs
    (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.
    ScmConfiguration RemediationRecipeScmConfigurationArgs
    (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
    VerifyConfiguration RemediationRecipeVerifyConfigurationArgs
    (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.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The name of the remediation recipe.
    FreeformTags 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 or INACTIVE.

    ** 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

    compartmentId String
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
    detectConfiguration RemediationRecipeDetectConfiguration
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    isRunTriggeredOnKbChange Boolean
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    knowledgeBaseId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    networkConfiguration RemediationRecipeNetworkConfiguration
    (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.
    scmConfiguration RemediationRecipeScmConfiguration
    (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
    verifyConfiguration RemediationRecipeVerifyConfiguration
    (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.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The name of the remediation recipe.
    freeformTags 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 or INACTIVE.

    ** 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

    compartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
    detectConfiguration RemediationRecipeDetectConfiguration
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    isRunTriggeredOnKbChange boolean
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    knowledgeBaseId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    networkConfiguration RemediationRecipeNetworkConfiguration
    (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.
    scmConfiguration RemediationRecipeScmConfiguration
    (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
    verifyConfiguration RemediationRecipeVerifyConfiguration
    (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.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) The name of the remediation recipe.
    freeformTags {[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 or INACTIVE.

    ** 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.RemediationRecipeDetectConfigurationArgs
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    is_run_triggered_on_kb_change bool
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    knowledge_base_id str
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    network_configuration adm.RemediationRecipeNetworkConfigurationArgs
    (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.RemediationRecipeScmConfigurationArgs
    (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
    verify_configuration adm.RemediationRecipeVerifyConfigurationArgs
    (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.
    defined_tags 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.
    freeform_tags 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 or INACTIVE.

    ** 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

    compartmentId String
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
    detectConfiguration Property Map
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    isRunTriggeredOnKbChange Boolean
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    knowledgeBaseId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    networkConfiguration 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.
    scmConfiguration Property Map
    (Updatable) A configuration for the Source Code Management tool/platform used by a remediation recipe.
    verifyConfiguration 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.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The name of the remediation recipe.
    freeformTags 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 or INACTIVE.

    ** 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.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the Remediation Recipe (formatted according to RFC3339).
    TimeUpdated 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.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the Remediation Recipe (formatted according to RFC3339).
    TimeUpdated 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.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the Remediation Recipe (formatted according to RFC3339).
    timeUpdated 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.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The creation date and time of the Remediation Recipe (formatted according to RFC3339).
    timeUpdated 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.
    system_tags 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.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the Remediation Recipe (formatted according to RFC3339).
    timeUpdated 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.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DetectConfiguration RemediationRecipeDetectConfiguration
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    DisplayName string
    (Updatable) The name of the remediation recipe.
    FreeformTags 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"}
    IsRunTriggeredOnKbChange bool
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    KnowledgeBaseId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    NetworkConfiguration RemediationRecipeNetworkConfiguration
    (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.
    ScmConfiguration RemediationRecipeScmConfiguration
    (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 or INACTIVE.

    ** 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

    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the Remediation Recipe (formatted according to RFC3339).
    TimeUpdated string
    The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
    VerifyConfiguration RemediationRecipeVerifyConfiguration
    (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.
    CompartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DetectConfiguration RemediationRecipeDetectConfigurationArgs
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    DisplayName string
    (Updatable) The name of the remediation recipe.
    FreeformTags 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"}
    IsRunTriggeredOnKbChange bool
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    KnowledgeBaseId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    NetworkConfiguration RemediationRecipeNetworkConfigurationArgs
    (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.
    ScmConfiguration RemediationRecipeScmConfigurationArgs
    (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 or INACTIVE.

    ** 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

    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the Remediation Recipe (formatted according to RFC3339).
    TimeUpdated string
    The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
    VerifyConfiguration RemediationRecipeVerifyConfigurationArgs
    (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.
    compartmentId String
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    detectConfiguration RemediationRecipeDetectConfiguration
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    displayName String
    (Updatable) The name of the remediation recipe.
    freeformTags 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"}
    isRunTriggeredOnKbChange Boolean
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    knowledgeBaseId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    networkConfiguration RemediationRecipeNetworkConfiguration
    (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.
    scmConfiguration RemediationRecipeScmConfiguration
    (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 or INACTIVE.

    ** 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

    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the Remediation Recipe (formatted according to RFC3339).
    timeUpdated String
    The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
    verifyConfiguration RemediationRecipeVerifyConfiguration
    (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.
    compartmentId string
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    detectConfiguration RemediationRecipeDetectConfiguration
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    displayName string
    (Updatable) The name of the remediation recipe.
    freeformTags {[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"}
    isRunTriggeredOnKbChange boolean
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    knowledgeBaseId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    networkConfiguration RemediationRecipeNetworkConfiguration
    (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.
    scmConfiguration RemediationRecipeScmConfiguration
    (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 or INACTIVE.

    ** 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

    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The creation date and time of the Remediation Recipe (formatted according to RFC3339).
    timeUpdated string
    The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
    verifyConfiguration RemediationRecipeVerifyConfiguration
    (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.
    defined_tags 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.RemediationRecipeDetectConfigurationArgs
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    display_name str
    (Updatable) The name of the remediation recipe.
    freeform_tags 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_triggered_on_kb_change bool
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    knowledge_base_id str
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    network_configuration adm.RemediationRecipeNetworkConfigurationArgs
    (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.RemediationRecipeScmConfigurationArgs
    (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 or INACTIVE.

    ** 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

    system_tags 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.RemediationRecipeVerifyConfigurationArgs
    (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.
    compartmentId String
    (Updatable) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    detectConfiguration Property Map
    (Updatable) A configuration to define the constraints when detecting vulnerable dependencies.
    displayName String
    (Updatable) The name of the remediation recipe.
    freeformTags 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"}
    isRunTriggeredOnKbChange Boolean
    (Updatable) Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
    knowledgeBaseId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the knowledge base.
    networkConfiguration 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.
    scmConfiguration 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 or INACTIVE.

    ** 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

    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the Remediation Recipe (formatted according to RFC3339).
    timeUpdated String
    The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
    verifyConfiguration 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.
    MaxPermissibleCvssV2score double
    (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.
    MaxPermissibleCvssV3score double
    (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.
    MaxPermissibleSeverity string
    (Updatable) The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
    UpgradePolicy 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.
    MaxPermissibleCvssV2score float64
    (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.
    MaxPermissibleCvssV3score float64
    (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.
    MaxPermissibleSeverity string
    (Updatable) The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
    UpgradePolicy 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.
    maxPermissibleCvssV2score Double
    (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.
    maxPermissibleCvssV3score Double
    (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.
    maxPermissibleSeverity String
    (Updatable) The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
    upgradePolicy 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.
    maxPermissibleCvssV2score number
    (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.
    maxPermissibleCvssV3score number
    (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.
    maxPermissibleSeverity string
    (Updatable) The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
    upgradePolicy 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_cvss_v2score float
    (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_cvss_v3score float
    (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_severity str
    (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.
    maxPermissibleCvssV2score Number
    (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.
    maxPermissibleCvssV3score Number
    (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.
    maxPermissibleSeverity String
    (Updatable) The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
    upgradePolicy 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

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

    RemediationRecipeScmConfiguration, RemediationRecipeScmConfigurationArgs

    Branch string
    (Updatable) The branch used by ADM to patch vulnerabilities.
    IsAutomergeEnabled bool
    (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.
    ScmType string
    (Updatable) The type of Source Code Management.
    BuildFileLocation string
    (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.
    ExternalScmType string
    (Updatable) The type of External Source Code Management.
    OciCodeRepositoryId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
    PatSecretId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
    RepositoryUrl 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.
    IsAutomergeEnabled bool
    (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.
    ScmType string
    (Updatable) The type of Source Code Management.
    BuildFileLocation string
    (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.
    ExternalScmType string
    (Updatable) The type of External Source Code Management.
    OciCodeRepositoryId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
    PatSecretId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
    RepositoryUrl 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.
    isAutomergeEnabled Boolean
    (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.
    scmType String
    (Updatable) The type of Source Code Management.
    buildFileLocation String
    (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.
    externalScmType String
    (Updatable) The type of External Source Code Management.
    ociCodeRepositoryId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
    patSecretId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
    repositoryUrl 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.
    isAutomergeEnabled boolean
    (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.
    scmType string
    (Updatable) The type of Source Code Management.
    buildFileLocation string
    (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.
    externalScmType string
    (Updatable) The type of External Source Code Management.
    ociCodeRepositoryId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
    patSecretId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
    repositoryUrl 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_enabled bool
    (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_location str
    (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_type str
    (Updatable) The type of External Source Code Management.
    oci_code_repository_id str
    (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
    pat_secret_id str
    (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.
    isAutomergeEnabled Boolean
    (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.
    scmType String
    (Updatable) The type of Source Code Management.
    buildFileLocation String
    (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.
    externalScmType String
    (Updatable) The type of External Source Code Management.
    ociCodeRepositoryId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the Oracle Cloud Infrastructure DevOps repository.
    patSecretId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The secret provides the credentials necessary to authenticate against the SCM.
    repositoryUrl 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

    BuildServiceType string
    (Updatable) The type of Build Service.
    AdditionalParameters Dictionary<string, object>
    (Updatable) Additional key-value pairs passed as parameters to the build service when running an experiment.
    JenkinsUrl string
    (Updatable) The URL that locates the Jenkins pipeline.
    JobName string
    (Updatable) The name of the Jenkins pipeline job that identifies the build pipeline.
    PatSecretId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
    PipelineId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
    RepositoryUrl 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]
    TriggerSecretId string
    (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.
    WorkflowName string
    (Updatable) The name of the GitHub Actions workflow that defines the build pipeline.
    BuildServiceType string
    (Updatable) The type of Build Service.
    AdditionalParameters map[string]interface{}
    (Updatable) Additional key-value pairs passed as parameters to the build service when running an experiment.
    JenkinsUrl string
    (Updatable) The URL that locates the Jenkins pipeline.
    JobName string
    (Updatable) The name of the Jenkins pipeline job that identifies the build pipeline.
    PatSecretId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
    PipelineId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
    RepositoryUrl 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]
    TriggerSecretId string
    (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.
    WorkflowName string
    (Updatable) The name of the GitHub Actions workflow that defines the build pipeline.
    buildServiceType String
    (Updatable) The type of Build Service.
    additionalParameters Map<String,Object>
    (Updatable) Additional key-value pairs passed as parameters to the build service when running an experiment.
    jenkinsUrl String
    (Updatable) The URL that locates the Jenkins pipeline.
    jobName String
    (Updatable) The name of the Jenkins pipeline job that identifies the build pipeline.
    patSecretId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
    pipelineId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
    repositoryUrl 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]
    triggerSecretId String
    (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.
    workflowName String
    (Updatable) The name of the GitHub Actions workflow that defines the build pipeline.
    buildServiceType string
    (Updatable) The type of Build Service.
    additionalParameters {[key: string]: any}
    (Updatable) Additional key-value pairs passed as parameters to the build service when running an experiment.
    jenkinsUrl string
    (Updatable) The URL that locates the Jenkins pipeline.
    jobName string
    (Updatable) The name of the Jenkins pipeline job that identifies the build pipeline.
    patSecretId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
    pipelineId string
    (Updatable) The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
    repositoryUrl 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]
    triggerSecretId string
    (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.
    workflowName string
    (Updatable) The name of the GitHub Actions workflow that defines the build pipeline.
    build_service_type str
    (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_id str
    (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_id str
    (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.
    buildServiceType String
    (Updatable) The type of Build Service.
    additionalParameters Map<Any>
    (Updatable) Additional key-value pairs passed as parameters to the build service when running an experiment.
    jenkinsUrl String
    (Updatable) The URL that locates the Jenkins pipeline.
    jobName String
    (Updatable) The name of the Jenkins pipeline job that identifies the build pipeline.
    patSecretId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the Jenkins Pipeline.
    pipelineId String
    (Updatable) The Oracle Cloud Identifier (OCID) of the user's DevOps Build Pipeline.
    repositoryUrl 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]
    triggerSecretId String
    (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.
    workflowName 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.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi