OCI IAM Policy

ociPolicy engineoci-iam-policy

Allow statements attached to a compartment or the tenancy; access is implicitly denied without them.

Provider
oci
Category
Operations
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
attachment · component propertyenumtenancy | compartmentnocompartmentinherited
denyStatementsEnabled · component propertyboolean—nofalseinherited
effectenumaudit | deny | modify | deploy-if-not-existsno—inherited
enforcementModeenumenforced | disabledno—▸ enforced
implicitDeny · component propertyboolean—notrueinherited
managedboolean—nofalse▸ true
policyCountinteger—no—inherited
remediationboolean—nofalse▸ false
scopeenumresource | group | account | organizationno—▸ group
Rules that apply · 0

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

No rule reads this kind yet. That is a gap, not a guarantee.
Use it in a design
nodes:
  - { id: "iam-policy", component: "oci-iam-policy" }
Other Policy engine products · 56
Cloud Configalibaba-cloud-configalibabacloudpolicy-engineData Security Centeralibaba-data-security-centeralibabacloudpolicy-engineAmazon CodeGuru Revieweraws-codeguru-reviewerawspolicy-engineAWS Configaws-configawspolicy-engineAWS Control Toweraws-control-towerawspolicy-engineIAM Access Analyzeraws-iam-access-analyzerawspolicy-engineAWS Lake Formationaws-lake-formationawspolicy-engineAWS License Manageraws-license-managerawspolicy-engineAWS Organizationsaws-organizationsawspolicy-engineAWS Resource Access Manageraws-ramawspolicy-engineAmazon Verified Permissionsaws-verified-permissionsawspolicy-engineMicrosoft Entra Conditional Accessazure-conditional-accessazurepolicy-engineAzure Policyazure-policyazurepolicy-engineMicrosoft Entra Privileged Identity Managementazure-privileged-identity-managementazurepolicy-engineCloudflare Data Loss Preventioncloudflare-dlpcloudflarepolicy-engineCalypsoAIcalypsoaipolicy-engineCerboscerbospolicy-engineOPA Gatekeepergatekeeperpolicy-engineGuardrails AIguardrails-aipolicy-engineHiddenLayer AI Security Platformhiddenlayerpolicy-engineKubeArmorkubearmorpolicy-engineKubewardenkubewardenpolicy-engineKyvernokyvernopolicy-engineLakera Guardlakera-guardpolicy-engineLLM Guardllm-guardpolicy-engineNeMo Guardrailsnemo-guardrailspolicy-engineOpen Policy Agentopapolicy-enginePermit.iopermit-iopolicy-engineGeneric policy enginepolicy-enginepolicy-enginePrompt Securityprompt-securitypolicy-engineProtect AIprotect-aipolicy-engineRebuffrebuffpolicy-engineRobust Intelligencerobust-intelligencepolicy-engineSonarQube Serversonarqubepolicy-engineDigitalOcean CSPMdigitalocean-cspmdigitaloceanpolicy-engineAccess Context Managergoogle-access-context-managergcppolicy-engineAssured Workloadsgoogle-assured-workloadsgcppolicy-engineBinary Authorizationgoogle-binary-authorizationgcppolicy-engineIdentity and Access Managementgoogle-cloud-iamgcppolicy-engineFirebase App Checkgoogle-firebase-app-checkgcppolicy-engine
and 16 more → Policy engine page
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Oracle Cloud IAM policy: allow statements attached to a compartment or the tenancy.
# Defaults from "IAM Policies Overview" and "Deny Policies": access is implicitly denied until a policy
# grants it, a policy attaches to exactly one compartment, and deny statements are opt-in per tenancy.
schemaVersion: "1"
type: "component"
id: "oci-iam-policy"
kind: "policy-engine"
provider: "oci"
docs: "https://docs.oracle.com/en-us/iaas/Content/Identity/policieshow/Policy_Basics.htm"
defaults:
  managed: true
  enforcementMode: "enforced"
  scope: "group"
  remediation: false
properties:
  attachment:
    type: "enum"
    values: ["tenancy", "compartment"]
    default: "compartment"
  denyStatementsEnabled:
    type: "boolean"
    default: false
  implicitDeny:
    type: "boolean"
    default: true

The same page as markdown, for an agent: /catalogue/components/oci-iam-policy.md