I have created asset tags based on model ID's. Whats the best way to search my 3000+ assets and tag them based on model ID? other than one by one!
I assume I can use a groovy script but im not familiar with how these scripts look.
What field are you using for your Model ID? I would need the QID. The way a Groovy Scriptlet would do it is you give the QID and then search it for the specific test to match your TAG.
You may be more productive creating an Asset Search Tag. Have you tried that yet?
Im using field 'system.model' which I can search on in asset view but as far as im aware cant use for searching when performing an 'Asset search tag'
I hope this helps.
Can you give me an example of what you Model DATA looks like. It is probably a field you can use but I need a sample data and I can probably give you something that will work for you in your Qualys account.
Hi David, Ive included below the model data I am looking to identify. For each different model I would like to apply a different tag.
Below is an example of how the model data looks in Qualys;
I did some searching now this is only in the VM Module via the Information QID fields. I did not see the same information that I see in the System Information View. This may not show up in the VM Model for some reason. Maybe someone from Qualys knows. If it was detected by one of the QIDs I could write something; but I am not seeing it anywhere. I will do some more digging and see if I can come up with something.
Retrieving data ...