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

IceIronDragon
Tera Guru

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