[12961] Added the AuditPolicy CRUD | Added growl for autogenerated name cases #16191
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #12961
Occurred changes and/or fixed issues
shell/assets/translations/en-us.yaml Added all the new texts for audit policies
shell/config/types.js Added the types to use it on the list
shell/config/product/explorer.js Changed to add to the list, add to Policy as the last one (-1)
shell/edit/auditlog.cattle.io.auditpolicy/AdditionalRedactions.vue New file for the new options (Composition)
shell/edit/auditlog.cattle.io.auditpolicy/Filters.vue New file for the filters options (Composition)
shell/edit/auditlog.cattle.io.auditpolicy/General.vue New file for the general part (Composition)
shell/edit/auditlog.cattle.io.auditpolicy/index.vue New file to merge all togehter (Option), could not make (Composition) for the lack of composables
shell/list/auditlog.cattle.io.auditpolicy.vue Added to interactive change the list
shell/edit/auditlog.cattle.io.auditpolicy/types.ts Added new types
Tests created with snapshots
shell/edit/auditlog.cattle.io.auditpolicy/tests/AdditionalRedactions.test.ts
shell/edit/auditlog.cattle.io.auditpolicy/tests/Filters.test.ts
shell/edit/auditlog.cattle.io.auditpolicy/tests/General.test.ts
shell/edit/auditlog.cattle.io.auditpolicy/tests/index.test.ts
shell/edit/auditlog.cattle.io.auditpolicy/tests/snapshots/AdditionalRedactions.test.ts.snap
shell/edit/auditlog.cattle.io.auditpolicy/tests/snapshots/Filters.test.ts.snap
shell/edit/auditlog.cattle.io.auditpolicy/tests/snapshots/General.test.ts.snap
shell/edit/auditlog.cattle.io.auditpolicy/tests/snapshots/index.test.ts.snap
shell/models/auditlog.cattle.io.auditpolicy.js
shell/list/auditlog.cattle.io.auditpolicy.vue List changed
shell/models/auditlog.cattle.io.auditpolicy.js Model changed to add the actions
Toast added:
shell/plugins/steve/steve-class.js Added toast to the processSaveResponse
shell/plugins/steve/tests/steve-class.test.ts New tests
Technical notes summary
Areas or cases that should be tested
Areas which could experience regressions
Screenshot/Video
PDF with the test cases
test cases - 12961.pdf
Checklist
Admin,Standard UserandUser Base