Generate Report on VITs part of multiple Remediation Tasks VULs
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
I am trying to Use background script, which is timing out after a while.
The script I am using identifies Vulnerable Items (VITs) that are linked to more than one Vulnerability record through the sn_vul_m2m_vul_group_item table and prints the results.
What the script does
- Queries the sn_vul_m2m_vul_group_item M2M table.
- Builds a map where:
- Key = Vulnerable Item Sys ID
- Value = Array of related Vulnerability Sys IDs
- Removes duplicate vulnerability references for each VIT.
- Finds VITs associated with multiple vulnerabilities.
- Retrieves the VIT number and all related vulnerability numbers.
- Prints output like:
VIT0001234 --> VULN0001001, VULN0001002, VULN0001003
Script:


Script:
And also I tried generating a report, but can't add related list conditions.
Labels:
- Labels:
-
Vulnerability Response
0 REPLIES 0