Chandra Sekhar

Dynamic tags based on CVSS Base score ?

Discussion created by Chandra Sekhar on Jan 17, 2020

Hi,

 

 We are trying to create a dynamic tags based on CVSS Base score using below query, but its not working as expected.

 

if(asset.getAssetType()!=Asset.AssetType.HOST) return false;
return asset.getBasescore()>=7;

 

Any suggestions ?

 

I usedPublic methods available in Groovy Script for invocation on different objects document as a reference.

 

Thanks in advance  

Outcomes