Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.FleetAppsManagement.getCompliancePolicyRules
Start a Neo task
Explain and create an oci.FleetAppsManagement.getCompliancePolicyRules resource
This data source provides the list of Compliance Policy Rules in Oracle Cloud Infrastructure Fleet Apps Management service.
Gets a list of Compliance policy rules in a compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCompliancePolicyRules = oci.FleetAppsManagement.getCompliancePolicyRules({
compartmentId: compartmentId,
compliancePolicyId: testCompliancePolicy.id,
displayName: compliancePolicyRuleDisplayName,
id: compliancePolicyRuleId,
patchName: testPatch.name,
state: compliancePolicyRuleState,
});
import pulumi
import pulumi_oci as oci
test_compliance_policy_rules = oci.FleetAppsManagement.get_compliance_policy_rules(compartment_id=compartment_id,
compliance_policy_id=test_compliance_policy["id"],
display_name=compliance_policy_rule_display_name,
id=compliance_policy_rule_id,
patch_name=test_patch["name"],
state=compliance_policy_rule_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/fleetappsmanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fleetappsmanagement.GetCompliancePolicyRules(ctx, &fleetappsmanagement.GetCompliancePolicyRulesArgs{
CompartmentId: pulumi.StringRef(compartmentId),
CompliancePolicyId: pulumi.StringRef(testCompliancePolicy.Id),
DisplayName: pulumi.StringRef(compliancePolicyRuleDisplayName),
Id: pulumi.StringRef(compliancePolicyRuleId),
PatchName: pulumi.StringRef(testPatch.Name),
State: pulumi.StringRef(compliancePolicyRuleState),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testCompliancePolicyRules = Oci.FleetAppsManagement.GetCompliancePolicyRules.Invoke(new()
{
CompartmentId = compartmentId,
CompliancePolicyId = testCompliancePolicy.Id,
DisplayName = compliancePolicyRuleDisplayName,
Id = compliancePolicyRuleId,
PatchName = testPatch.Name,
State = compliancePolicyRuleState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.FleetAppsManagementFunctions;
import com.pulumi.oci.FleetAppsManagement.inputs.GetCompliancePolicyRulesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testCompliancePolicyRules = FleetAppsManagementFunctions.getCompliancePolicyRules(GetCompliancePolicyRulesArgs.builder()
.compartmentId(compartmentId)
.compliancePolicyId(testCompliancePolicy.id())
.displayName(compliancePolicyRuleDisplayName)
.id(compliancePolicyRuleId)
.patchName(testPatch.name())
.state(compliancePolicyRuleState)
.build());
}
}
variables:
testCompliancePolicyRules:
fn::invoke:
function: oci:FleetAppsManagement:getCompliancePolicyRules
arguments:
compartmentId: ${compartmentId}
compliancePolicyId: ${testCompliancePolicy.id}
displayName: ${compliancePolicyRuleDisplayName}
id: ${compliancePolicyRuleId}
patchName: ${testPatch.name}
state: ${compliancePolicyRuleState}
Using getCompliancePolicyRules
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCompliancePolicyRules(args: GetCompliancePolicyRulesArgs, opts?: InvokeOptions): Promise<GetCompliancePolicyRulesResult>
function getCompliancePolicyRulesOutput(args: GetCompliancePolicyRulesOutputArgs, opts?: InvokeOptions): Output<GetCompliancePolicyRulesResult>def get_compliance_policy_rules(compartment_id: Optional[str] = None,
compliance_policy_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetCompliancePolicyRulesFilter]] = None,
id: Optional[str] = None,
patch_name: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCompliancePolicyRulesResult
def get_compliance_policy_rules_output(compartment_id: Optional[pulumi.Input[str]] = None,
compliance_policy_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetCompliancePolicyRulesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
patch_name: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCompliancePolicyRulesResult]func GetCompliancePolicyRules(ctx *Context, args *GetCompliancePolicyRulesArgs, opts ...InvokeOption) (*GetCompliancePolicyRulesResult, error)
func GetCompliancePolicyRulesOutput(ctx *Context, args *GetCompliancePolicyRulesOutputArgs, opts ...InvokeOption) GetCompliancePolicyRulesResultOutput> Note: This function is named GetCompliancePolicyRules in the Go SDK.
public static class GetCompliancePolicyRules
{
public static Task<GetCompliancePolicyRulesResult> InvokeAsync(GetCompliancePolicyRulesArgs args, InvokeOptions? opts = null)
public static Output<GetCompliancePolicyRulesResult> Invoke(GetCompliancePolicyRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCompliancePolicyRulesResult> getCompliancePolicyRules(GetCompliancePolicyRulesArgs args, InvokeOptions options)
public static Output<GetCompliancePolicyRulesResult> getCompliancePolicyRules(GetCompliancePolicyRulesArgs args, InvokeOptions options)
fn::invoke:
function: oci:FleetAppsManagement/getCompliancePolicyRules:getCompliancePolicyRules
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Compliance
Policy stringId - unique CompliancePolicy identifier.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Compliance Policy Rules Filter> - Id string
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- Patch
Name string - A filter to return only resources that match the patch selection against the given patch name.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Compliance
Policy stringId - unique CompliancePolicy identifier.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Compliance Policy Rules Filter - Id string
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- Patch
Name string - A filter to return only resources that match the patch selection against the given patch name.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- compliance
Policy StringId - unique CompliancePolicy identifier.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Compliance Policy Rules Filter> - id String
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- patch
Name String - A filter to return only resources that match the patch selection against the given patch name.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- compliance
Policy stringId - unique CompliancePolicy identifier.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Compliance Policy Rules Filter[] - id string
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- patch
Name string - A filter to return only resources that match the patch selection against the given patch name.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment_
id str - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- compliance_
policy_ strid - unique CompliancePolicy identifier.
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[Get
Compliance Policy Rules Filter] - id str
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- patch_
name str - A filter to return only resources that match the patch selection against the given patch name.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- compliance
Policy StringId - unique CompliancePolicy identifier.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- id String
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- patch
Name String - A filter to return only resources that match the patch selection against the given patch name.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
getCompliancePolicyRules Result
The following output properties are available:
- Compliance
Policy List<GetRule Collections Compliance Policy Rules Compliance Policy Rule Collection> - The list of compliance_policy_rule_collection.
- Compartment
Id string - The OCID of the compartment the CompliancePolicyRule belongs to.
- Compliance
Policy stringId - Unique OCID of the CompliancePolicy.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - Filters
List<Get
Compliance Policy Rules Filter> - Id string
- Unique OCID of the CompliancePolicyRule.
- Patch
Name string - Patch Name.
- State string
- The current state of the CompliancePolicyRule.
- Compliance
Policy []GetRule Collections Compliance Policy Rules Compliance Policy Rule Collection - The list of compliance_policy_rule_collection.
- Compartment
Id string - The OCID of the compartment the CompliancePolicyRule belongs to.
- Compliance
Policy stringId - Unique OCID of the CompliancePolicy.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - Filters
[]Get
Compliance Policy Rules Filter - Id string
- Unique OCID of the CompliancePolicyRule.
- Patch
Name string - Patch Name.
- State string
- The current state of the CompliancePolicyRule.
- compliance
Policy List<GetRule Collections Compliance Policy Rules Compliance Policy Rule Collection> - The list of compliance_policy_rule_collection.
- compartment
Id String - The OCID of the compartment the CompliancePolicyRule belongs to.
- compliance
Policy StringId - Unique OCID of the CompliancePolicy.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - filters
List<Get
Compliance Policy Rules Filter> - id String
- Unique OCID of the CompliancePolicyRule.
- patch
Name String - Patch Name.
- state String
- The current state of the CompliancePolicyRule.
- compliance
Policy GetRule Collections Compliance Policy Rules Compliance Policy Rule Collection[] - The list of compliance_policy_rule_collection.
- compartment
Id string - The OCID of the compartment the CompliancePolicyRule belongs to.
- compliance
Policy stringId - Unique OCID of the CompliancePolicy.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - filters
Get
Compliance Policy Rules Filter[] - id string
- Unique OCID of the CompliancePolicyRule.
- patch
Name string - Patch Name.
- state string
- The current state of the CompliancePolicyRule.
- compliance_
policy_ Sequence[Getrule_ collections Compliance Policy Rules Compliance Policy Rule Collection] - The list of compliance_policy_rule_collection.
- compartment_
id str - The OCID of the compartment the CompliancePolicyRule belongs to.
- compliance_
policy_ strid - Unique OCID of the CompliancePolicy.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - filters
Sequence[Get
Compliance Policy Rules Filter] - id str
- Unique OCID of the CompliancePolicyRule.
- patch_
name str - Patch Name.
- state str
- The current state of the CompliancePolicyRule.
- compliance
Policy List<Property Map>Rule Collections - The list of compliance_policy_rule_collection.
- compartment
Id String - The OCID of the compartment the CompliancePolicyRule belongs to.
- compliance
Policy StringId - Unique OCID of the CompliancePolicy.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource - filters List<Property Map>
- id String
- Unique OCID of the CompliancePolicyRule.
- patch
Name String - Patch Name.
- state String
- The current state of the CompliancePolicyRule.
Supporting Types
GetCompliancePolicyRulesCompliancePolicyRuleCollection
GetCompliancePolicyRulesCompliancePolicyRuleCollectionItem
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Compliance
Policy stringId - unique CompliancePolicy identifier.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A filter to return only resources that match the entire display name given.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Grace
Period string - Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- Id string
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- Lifecycle
Details string - A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Patch
Selections List<GetCompliance Policy Rules Compliance Policy Rule Collection Item Patch Selection> - Patch Selection Details
- Patch
Type List<string>Ids - PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- Product
Versions List<GetCompliance Policy Rules Compliance Policy Rule Collection Item Product Version> - A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- Severities List<string>
- Severity to which this CompliancePolicyRule applies.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- Compliance
Policy stringId - unique CompliancePolicy identifier.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A filter to return only resources that match the entire display name given.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Grace
Period string - Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- Id string
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- Lifecycle
Details string - A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Patch
Selections []GetCompliance Policy Rules Compliance Policy Rule Collection Item Patch Selection - Patch Selection Details
- Patch
Type []stringIds - PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- Product
Versions []GetCompliance Policy Rules Compliance Policy Rule Collection Item Product Version - A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- Severities []string
- Severity to which this CompliancePolicyRule applies.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- compliance
Policy StringId - unique CompliancePolicy identifier.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A filter to return only resources that match the entire display name given.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - grace
Period String - Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- id String
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- lifecycle
Details String - A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- patch
Selections List<GetCompliance Policy Rules Compliance Policy Rule Collection Item Patch Selection> - Patch Selection Details
- patch
Type List<String>Ids - PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- product
Versions List<GetCompliance Policy Rules Compliance Policy Rule Collection Item Product Version> - A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- severities List<String>
- Severity to which this CompliancePolicyRule applies.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- compliance
Policy stringId - unique CompliancePolicy identifier.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name string - A filter to return only resources that match the entire display name given.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - grace
Period string - Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- id string
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- lifecycle
Details string - A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- patch
Selections GetCompliance Policy Rules Compliance Policy Rule Collection Item Patch Selection[] - Patch Selection Details
- patch
Type string[]Ids - PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- product
Versions GetCompliance Policy Rules Compliance Policy Rule Collection Item Product Version[] - A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- severities string[]
- Severity to which this CompliancePolicyRule applies.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment_
id str - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- compliance_
policy_ strid - unique CompliancePolicy identifier.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display_
name str - A filter to return only resources that match the entire display name given.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - grace_
period str - Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- id str
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- lifecycle_
details str - A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- patch_
selections Sequence[GetCompliance Policy Rules Compliance Policy Rule Collection Item Patch Selection] - Patch Selection Details
- patch_
type_ Sequence[str]ids - PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- product_
versions Sequence[GetCompliance Policy Rules Compliance Policy Rule Collection Item Product Version] - A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- severities Sequence[str]
- Severity to which this CompliancePolicyRule applies.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
updated str - The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
- compliance
Policy StringId - unique CompliancePolicy identifier.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A filter to return only resources that match the entire display name given.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - grace
Period String - Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
- id String
- Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
- lifecycle
Details String - A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- patch
Selections List<Property Map> - Patch Selection Details
- patch
Type List<String>Ids - PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
- product
Versions List<Property Map> - A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
- severities List<String>
- Severity to which this CompliancePolicyRule applies.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
GetCompliancePolicyRulesCompliancePolicyRuleCollectionItemPatchSelection
- Days
Since intRelease - Days passed since patch release.
- Patch
Level string - Patch Name.
- Patch
Name string - A filter to return only resources that match the patch selection against the given patch name.
- Selection
Type string - Selection type for the Patch.
- Days
Since intRelease - Days passed since patch release.
- Patch
Level string - Patch Name.
- Patch
Name string - A filter to return only resources that match the patch selection against the given patch name.
- Selection
Type string - Selection type for the Patch.
- days
Since IntegerRelease - Days passed since patch release.
- patch
Level String - Patch Name.
- patch
Name String - A filter to return only resources that match the patch selection against the given patch name.
- selection
Type String - Selection type for the Patch.
- days
Since numberRelease - Days passed since patch release.
- patch
Level string - Patch Name.
- patch
Name string - A filter to return only resources that match the patch selection against the given patch name.
- selection
Type string - Selection type for the Patch.
- days_
since_ intrelease - Days passed since patch release.
- patch_
level str - Patch Name.
- patch_
name str - A filter to return only resources that match the patch selection against the given patch name.
- selection_
type str - Selection type for the Patch.
- days
Since NumberRelease - Days passed since patch release.
- patch
Level String - Patch Name.
- patch
Name String - A filter to return only resources that match the patch selection against the given patch name.
- selection
Type String - Selection type for the Patch.
GetCompliancePolicyRulesCompliancePolicyRuleCollectionItemProductVersion
- Is
Applicable boolFor All Higher Versions - Is rule applicable to all higher versions also
- Version string
- Product version the rule is applicable.
- Is
Applicable boolFor All Higher Versions - Is rule applicable to all higher versions also
- Version string
- Product version the rule is applicable.
- is
Applicable BooleanFor All Higher Versions - Is rule applicable to all higher versions also
- version String
- Product version the rule is applicable.
- is
Applicable booleanFor All Higher Versions - Is rule applicable to all higher versions also
- version string
- Product version the rule is applicable.
- is_
applicable_ boolfor_ all_ higher_ versions - Is rule applicable to all higher versions also
- version str
- Product version the rule is applicable.
- is
Applicable BooleanFor All Higher Versions - Is rule applicable to all higher versions also
- version String
- Product version the rule is applicable.
GetCompliancePolicyRulesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
