-
Notifications
You must be signed in to change notification settings - Fork 905
GRC Policy Deletion Guard #2598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GRC Policy Deletion Guard #2598
Conversation
Automatically create a problem record from incident volume Use case: Automatically create a problem record if a specific Configuration Item (CI) is associated with more than a certain number of incidents within a defined timeframe. Code snippet This code can be placed in a Scheduled Script Execution or an After Insert Business Rule to check new incidents
…Active incidents/README.md
…Active incidents/script.js
… Assignment Groups/README.md
… Assignment Groups/script.js
This Business Rule runs 'before' a record is deleted from the 'sn_compliance_policy' table. Its purpose is to prevent a policy from being deleted if it is currently linked to any active controls. This helps maintain data integrity and prevents the creation of orphaned or invalidated compliance records.
…cident volume/README.md
…cident volume/script.js
|
Thank you for your contribution. However, it doesn't comply with our contributing guidelines. As a reminder, the general requirements (as outlined in the CONTRIBUTING.md file) are the following: follow the folder+subfolder guidelines and include a README.md file explaining what the code snippet does. Validation errors: Review your contribution against the guidelines and make the necessary adjustments. Closing this for now. Once you make additional changes, feel free to re-open this Pull Request or create a new one. |
PR Description:
GRC Policy Deletion Guard
Pull Request Checklist
Overview
Code Quality
Repository Structure Compliance
Core ServiceNow APIs/Server-Side Components/Client-Side Components/Modern Development/Integration/Specialized Areas/Documentation
Restrictions