Last active
June 27, 2022 21:32
-
-
Save cmcdevitt/60ee47eae1bd88d9e42bba186ca89a37 to your computer and use it in GitHub Desktop.
Add Vulnerable Item
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
| var vul = '7e4e6fb5879c99102d0b422e0ebb352d';//Sys id of a Third-Party item | |
| var ci = 'fbb85b1d475c191077f53008946d4336';//ip-ac0a0411.secops.com | |
| var vi = new GlideRecord('sn_vul_vulnerable_item'); | |
| vi.initilize(); | |
| vi.setValue('vulnerability', vul); | |
| vi.setValue('cmdb_ci', ci); | |
| vi.setValue('source', 'Script'); | |
| vi.insert(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment