-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
POL-1365 Update Policy Permissions Automation - support for crossed-d…
…agger symbol (#2678) * updated fail message for AWS, Azure, Google Cloud, and Flexera permissions that should have a footnote * updated condition to support dagger and cross-dagger symbol when looking for permission lines that end with a footnote symbol * updated condition to support dagger and crossed dagger symbol when checking the permission/s footnote/s themselves * remove references to asterix and replace with footnote_symbol to be more generic * updated ruby script for generating policy master permissions to support crossed dagger symbol * test footnote symbol * test footnote symbol 2 * test footnote symbol 3 * test footnote symbol 4 * test footnote symbol 5 * attempt again * attempt 2 with dagger symbol only * replace dagger symbol with unicode * update the perm testers to support the new symbols using unicode * attempt 2 with dagger symbol only, but now without the footnote * attempt 2 with cross-dagger symbol only, also change to unicode in dangerfile readme script * attempt 2 with both dagger and cross-dagger, however, dagger is missing footnote * update readme script to account for different scenarios of missing footnotes * change permission action logic * test both dagger and crossed dagger with footnotes (expecting all checks to pass) * change permission action logic for Azure * revert changes made to Schedule EC2 events policy readme * change permission action logic for Google Cloud * change permission action logic for Flexera provider * add code to support 3 additional symbols - section, double-vertical bar, pilcrow * change to Google policy readme to test dangerfile check * revert changes * add changes to Microsoft policy readme to test dangerfile check * footnote asterisk instead of section symbol * now testing double-veritcal bar and pilcrow symbols * minor change to language in error message with regards to missing footnotes * now testing error message to see if it includes one for a missing asterisk footnote * revert changes to policy template readme * add support for section, double-vertical bar and pilcrow symbols in the master permissions script * fixed if statement
- Loading branch information
Showing
2 changed files
with
135 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters