Manage data security policies

From oracle/Fusion-Setup-Configuration-Registry · View interactive version

Manage data security policies is an AI agent skill from the GitHub repository oracle/Fusion-Setup-Configuration-Registry. Prepare individual data-security-policy creation, updates, deletion and redesign requests using verified FSM templates, and route supported changes through validated Data Loader imports.

How to use this skill

Skill file

Manage Data Security Policies

Purpose

Provide a controlled, cross-pillar method to export, validate, and

approval-gate the import of the Manage Data Security Policies FSM setup

task. Delegate transport and live import execution to the declared shared and

core dependencies. Capture the user's policy design and prepare supported FSM changes.

Export and move the FSM setup task Manage Data Security Policies only through

the declared dependency workflows. Its catalog identity is

ASXS_MANAGE_DATA_SECURITY_POLICIES; require a current catalog or live-task

lookup to confirm that export/import remains supported before execution.

Scope and boundaries

exported archive, a verified-template candidate or a user-supplied modified copy.

policy grants and conditions. Preserve user-specified scope and use only this

task's verified contract. Route role-definition changes to Manage Job Roles

or Manage Duties rather than substituting their archives here.

shared.setup-export.task-level-export owns export; core.data-loader owns

import preflight, upload, initiation, and monitoring.

validation, preview, and immediate-approval gates. An approval for the

original export does not approve a modified archive.

Required preflight

  1. Resolve the project workspace, requested operation, source and target

environments, and exact policy scope. For migration, source and target must

differ; for a same-environment restore, require explicit confirmation.

  1. Confirm task name and code with shared.setup-export.task-level-export and

verify CSVExportImportSupportedFlag is Y. On an ambiguous, unavailable,

or unsupported task, record a catalog-mismatch diagnostic and stop.

  1. Confirm Functional Setup Manager export access in source and Data Loader

import privileges in target. Never request or expose credentials or tokens.

  1. Persist redacted source/target, task-code, scope, and execution-plan details

before side effects.

Export

  1. Route export to shared.setup-export.task-level-export with task name

Manage Data Security Policies, task code

ASXS_MANAGE_DATA_SECURITY_POLICIES, source environment, and project ID.

  1. Let that skill complete discovery, support validation, process creation,

polling, download, and project export persistence. Never substitute a

template export for a data export.

  1. Preserve the returned ZIP unchanged and register its path, SHA-256, process

ID, task identity, source environment, and timestamp. Preserve timeout or

failure diagnostics; do not automatically start another export.

Create, update, delete and redesign

Accept these operation requests for this task's own setup objects, including

user-specified individual changes. Prepare supported changes using the target's

FSM template and execute them through core.data-loader; do not reject a

request merely because the user does not already have an input archive.

Read FSM input preparation when preparing a change or helping a user

understand the input. Obtain and safely extract the template, explain its files

and required columns, map supplied business values, and prepare a separate

candidate. Automatically authorize only the necessary template/spec export;

retain Data Loader's validation and actual import approval workflow.

For deletion, verify the explicit supported action for the exact object or

relationship. An omitted CSV row, blank value or unrelated REMOVE action is

not whole-object deletion. If the task has no supported deletion contract,

record that specific operation gap; do not impose a blanket prohibition on all

individual changes or invent a browser/API execution route.

For update or redesign, establish existing keys, preserve unrelated values and

show the intended changes. Intentional changes in the selected target are not

same-environment restores. Apply restore confirmation only to an actual restore.

Template-first import preparation

  1. Unless the user explicitly overrides this sequence, export the task first

and provide that export as the import template before asking for import

content. Explain that the template establishes the supported archive and

file structure; it is not approval to import.

  1. When the user provides an input file, compare it with the export template

for file names, headers, column order, encoding, required values, and

task-specific references. Help correct structural defects in a separate

candidate file; preserve the supplied original and do not silently alter

business values.

  1. Give the user a concise change summary and identify any unresolved values

or references. Use the corrected file only after it conforms to the export

structure and has been assembled into a new candidate archive using the

supported archive shape. That candidate is a new artifact and must pass the

validation and approval gates below.

  1. The user may override the export-first sequence, template choice, or

proposed file corrections at any time. Honor that direction, while retaining

the required task-identity, validation, and immediate import-approval gates.

Validate and import

  1. Require a non-empty ZIP and bind its SHA-256 to the task code, source, and

target. Route archive validation to shared.validation.setup-data-validator.

Fail closed on archive-shape, task-identity, scope, catalog, environment, or

privilege mismatch.

  1. The ZIP must remain unchanged after validation. Do not unpack, repack, merge,

or transform it. A user-modified copy begins a new validation cycle.

  1. Route only the immutable validated archive to core.data-loader as an FSM,

task-routed import, with target environment, task context, SHA-256, and

validation evidence.

  1. Let Data Loader complete source/API validation and create an immutable

approval preview. Do not replace that route with direct FSM, UCM, REST, CSV,

or browser operations.

  1. Present the exact target, task code, archive name and SHA-256, validation

result, and expected policy impact. Stop before the first POST. Proceed only

after a separate, immediate approval for that unchanged preview.

  1. Data Loader owns upload, initiation, monitoring, and diagnostics. Do not

retry uploads, imports, overwrite/replacement operations, or failed jobs

without fresh approval.

Failure handling

Classify failures as input validation, catalog mismatch, authorization,

transport/environment, Fusion API, process timeout, process failed, artifact

persistence, or approval blocker. Redact credentials, tokens, customer data,

and sensitive policy details. Persist a redacted blocker and next action, then

stop on ambiguity or unsafe paths.

Golden scenarios

| Scenario | Expected result |

| --- | --- |

| Export policy setup | Confirm identity and route only to task-level export. |

| Import the unmodified export | Require ZIP hash, shared/core evidence, and separate immediate approval before Data Loader handoff. |

| Import a modified exported file | Treat it as a new archive and repeat validation and approval gates. |

| Request direct FSM/UCM/REST/browser import | Stop; catalog flags do not authorize a replacement route. |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.