has anybody used tag_exclude_selector parameter in Qualys integration with ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2022 08:11 AM
Hello All,
We have a requirement where in we do not want certain CI record to be created in Configuration Compliance and Vulnerability Response.
We are thinking to make the filteration at API level.
I read and found out that we can use tag_exclude_selector parameter to exclude the CI's with a certain tag attached to them in Qualys.
lets say the tag on Qualys is : ABC
I want to understand how to write the parameter in the rest message :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2022 10:45 AM
I did not know that! That was not 100% clear when I was parsing through the API.
So then, we would use them as two separate parameters... I see.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2022 12:28 PM
I agree, the massive API doc is unclear at times.
-Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2022 10:56 AM
just to understand this , lets say I have put ABC as the tag on few assets in Qualys,
so in servicenow rest message parameters i should go
tag_exclude_selector : any
tag_set_exclude : ABC
or
tag_exclude_selector : ABC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2022 12:25 PM
This is correct:
tag_exclude_selector : any
tag_set_exclude : ABC <--- should be a number (see above)
Lessons learned: Qualys admins can change the name of a host tag but not the ID. I recommend using the host tag ID in your parameters.
-Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2022 02:45 AM
Hi
I tried this to exclude few assets with specific tags and I am getting Below response from qualys
The integration is running succesfully before adding these parameters - The data is coming good.
I verified in qualys that the assets have the tags I specified.
Does the user that is trying to access these does not have permit to those parameters?
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
5x ServiceNow MVP
