Project

General

Profile

Actions

User story #23799

closed

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

User story #23799: Make rudderc able to compile techniques using a per method policy mode override

Added by Félix DALLIDET about 2 years ago. Updated over 1 year 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

Updated by Félix DALLIDET about 2 years ago Actions #1

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

Updated by Félix DALLIDET about 2 years ago Actions #2

  • 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

Updated by Anonymous about 2 years ago Actions #3

  • Status changed from Pending technical review to Pending release

Updated by Félix DALLIDET about 2 years ago Actions #4

  • Subtask #23835 added

Updated by Félix DALLIDET about 2 years ago Actions #5

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

Updated by Vincent MEMBRÉ almost 2 years ago Actions #6

  • Subtask #23815 added

Updated by Vincent MEMBRÉ almost 2 years ago Actions #7

  • Subtask #23839 added

Updated by Vincent MEMBRÉ almost 2 years ago Actions #8

  • Subtask #23853 added

Updated by Vincent MEMBRÉ almost 2 years ago Actions #9

  • Subtask #23915 added

Updated by Vincent MEMBRÉ over 1 year ago Actions #10

  • 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: PDF Atom