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 #1

Updated by Félix DALLIDET 12 months ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET 12 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder/pull/5207
Actions #3

Updated by Anonymous 12 months ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Félix DALLIDET 12 months ago

  • Subtask #23835 added
Actions #5

Updated by Félix DALLIDET 12 months ago

  • Related to Architecture #23815: Add policy mode override support to the technique editor added
Actions #6

Updated by Vincent MEMBRÉ 11 months ago

  • Subtask #23815 added
Actions #7

Updated by Vincent MEMBRÉ 11 months ago

  • Subtask #23839 added
Actions #8

Updated by Vincent MEMBRÉ 11 months ago

  • Subtask #23853 added
Actions #9

Updated by Vincent MEMBRÉ 11 months ago

  • Subtask #23915 added
Actions #10

Updated by Vincent MEMBRÉ 8 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.1.0~alpha1 which was released today.

Actions

Also available in: Atom PDF