Identifying CIs in a Vulnerable Items Integration
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 04:56 PM
Hey Everyone!
I am running into another issue here. I am trying to identify CIs in my Vulnerable Items integration.
I am using this script to try to match in an OnBefore script.
(function runTransformScript(source, map, log, target) {
// Call CMDB API to do Identification and Reconciliation of current row
var cmdbUtil = new CMDBTransformUtil();
cmdbUtil.identifyAndReconcile(source, map, log);
ignore = true;
if (cmdbUtil.hasError()) {
var errorMessage = cmdbUtil.getError();
log.error(errorMessage);
} else {
log.info('IE Output Payload: ' + cmdbUtil.getOutputPayload());
log.info('Imported CI: ' + cmdbUtil.getOutputRecordSysId());
}
})(source, map, log, target);
I am currently following these steps to set up an identity rule but don't see the option for the Vulnerable Items table below. https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/configuration-manageme...
Error I am Receiving, any help would be appreciated!
identification_engine : logId:[4ee379b8876b] Output = {"items":[{"className":"sn_vul_vulnerable_item","sysId":"Unknown","identifierEntrySysId":"Unknown","errors":[{"error":"IDENTIFICATION_RULE_MISSING","message":"Non-CMDB CI classes are not allowed as top level items. Non-CMDB CI class: [sn_vul_vulnerable_item]"}],"identificationAttempts":[],"info":[],"errorCount":1,"inputIndices":[0],"mergedPayloadIds":[],"markers":[],"warningCount":0}],"additionalCommittedItems":[],"relations":[],"additionalCommittedRelations":[]}: no thrown error
0 REPLIES 0