Ensure that a file or directory is copied from a policy server.

⚙️ Compatible targets: Linux


sourceSource file (absolute path on the policy server).

This parameter is required.
pathDestination file (absolute path on the target node).

This parameter is required.
recursionRecursion depth to enforce for this path (0, 1, 2, ..., inf).

This parameter is required.

Outcome conditions

You need to replace ${path} with its actual canonified value.

  • ✅ Ok: file_from_remote_source_${path}_ok
    • ☑️ Already compliant: file_from_remote_source_${path}_kept
    • 🟨 Repaired: file_from_remote_source_${path}_repaired
  • ❌ Error: file_from_remote_source_${path}_error


method: file_from_remote_source_recursion
  source: VALUE
  recursion: VALUE
  path: VALUE


This method requires that the policy server is configured to accept copy of the source file or directory from the agents it will be applied to.

You can download a file from the shared files with: