Project

General

Profile

Actions

User story #23799

closed

Make rudderc able to compile techniques using a per method policy mode override

Added by Félix DALLIDET 12 months ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
rudderc
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
To do
Regression:
No

Description

We want to be able to override a specific method call policy mode, this way, we will be able to apply some specific methods to audit things on the system without being forced to put the whole directive in Audit for instance.

On Windows the change is really straightforward as each method has an optional parameter for the policy mode.
On Linux, it is slightly more complicated and we need to push/pop a dry_run mode on a global stack. The dedicated bundles already exist and are vastly used in methods, we should be able to use them in the same way in the technique generation.


Subtasks 5 (0 open5 closed)

Architecture #23815: Add policy mode override support to the technique editorReleasedFélix DALLIDETActions
User story #23835: Do the same for BlocksReleasedAlexis MoussetActions
User story #23839: Document the policy_mode in yaml rudderc documentationReleasedAlexis MoussetActions
Bug #23853: Add policy mode field to the technique json schemaRejectedActions
User story #23915: Remove BadPolicyMode case from computationReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF