CTR in Configuration compliance for a specific CI reopening after fix script

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2023 07:55 AM
Hi All,
We are seeing this behavior where in we are closing all CTRs associated with a Specific CI : ABC and it gets reopned the next day. The CI is retired in CMDB_CI table and is removed from Qualys as well.
>>where the CTR is assigned to ABC change state to close
>>we ran a fix script :
var grUpdate = new GlideRecord("sn_vulc_result");
grUpdate.addEncodedQuery("state!=3^cmdb_ci.name=ABC");
grUpdate.query();
while (grUpdate.next()) {
grUpdate.setValue("state", 3); //Closed
grUpdate.update();
}
0 REPLIES 0