Created
May 18, 2018 19:18
-
-
Save cmcdevitt/098b334edd8b6cbd62952cef091dfb49 to your computer and use it in GitHub Desktop.
VR Lab 4
This file contains hidden or 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
| ___________________________ | |
| Code snippett for part 1 | |
| ___________________________ | |
| task.cmdb_ci = current.cmdb_ci; | |
| task.short_description = 'Emergency change request for high security vulnerability : ' + current.vulnerability.id; | |
| task.work_notes = 'This Change record was created by the system for audit purposes. The Vulnerability Patch for ' + current.vulnerability.id + ' was installed automatically.'; | |
| ___________________________ | |
| Code snippet for part 2 | |
| ___________________________ | |
| task.cmdb_ci = current.cmdb_ci; | |
| task.short_description = 'Standard change request for high security vulnerability ' + current.vulnerability.id; | |
| task.work_notes = 'This Change record was created by the system for manual investigation after an automated scan discovered vulnerability ' + current.vulnerability.id + ' on .' + current.cmdb_ci.name + ' ('+ current.cmdb_ci.class + ')'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment