Actions
Bug #12355
closedTags in directives are ignored in POST API
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
76
Name check:
Fix check:
Regression:
Description
Though "tags" array is present in the POST query for directive, e.g.
"tags": [{"ubuntu": "etc"}]
they are silently ignored. Problem presents till current Rudder 4.1.10.
Sample json containing tags (preformatted):
{ "policyMode": "default", "displayName": "/etc/init.d/atop", "parameters": { "section": { "sections": [ { "section": { "sections": [ { "section": { "sections": [ { "section": { "name": "Exclusion/Inclusion", "vars": [ { "var": { "name": "COPYFILE_EXCLUDE_INCLUDE", "value": "" } }, { "var": { "name": "COPYFILE_EXCLUDE_INCLUDE_OPTION", "value": "none" } } ] } } ], "name": "Copy file", "vars": [ { "var": { "name": "COPYFILE_COMPARE_METHOD", "value": "digest" } }, { "var": { "name": "COPYFILE_DESTINATION", "value": "/etc/init.d/atop" } }, { "var": { "name": "COPYFILE_GROUP", "value": "root" } }, { "var": { "name": "COPYFILE_NAME", "value": "atop/etc/init.d/atop" } }, { "var": { "name": "COPYFILE_OWNER", "value": "root" } }, { "var": { "name": "COPYFILE_PERM", "value": "755" } }, { "var": { "name": "COPYFILE_PURGE", "value": "false" } }, { "var": { "name": "COPYFILE_RECURSION", "value": "0" } }, { "var": { "name": "COPYFILE_SGID", "value": "false" } }, { "var": { "name": "COPYFILE_STICKY_FOLDER", "value": "false" } }, { "var": { "name": "COPYFILE_SUID", "value": "false" } } ] } }, { "section": { "name": "Post-modification hook", "vars": [ { "var": { "name": "COPYFILE_POST_HOOK_COMMAND", "value": "" } }, { "var": { "name": "COPYFILE_POST_HOOK_RUN", "value": "false" } } ] } } ], "name": "Copy file and PostHook" } } ], "name": "sections" } }, "tags": [ { "ubuntu": "etc" } ], "enabled": true, "system": false, "techniqueVersion": "2.1", "longDescription": "", "priority": 5, "techniqueName": "copyGitFile", "shortDescription": "atop fixed init script" }
Actions