I am trying to create an action script to set classifications for certain subnets for devices in Bigfix. Can someone please review and let me know what I am doing wrong?
setting “Classification”="{if ((exists (subnet address whose (it=“10.100.100.0” OR it=“10.100.101.0” OR it=“10.100.104.0” OR it=“10.100.108.0” OR it=“10.100.109.0” OR it=“10.100.110.0” OR it=“10.100.111.0” OR (exists address whose (it>“10.2.64.0” and it<“10.2.79.255”) of adapters whose (status of it=1) of network)) OR (exists address whose (it>“10.30.16.0” and it<“10.30.31.255”) of adapters whose (status of it=1) of network)) OR (exists address whose (it>“10.48.96.0” and it<“10.48.127.255”) of adapters whose (status of it=1) of network)) OR (exists address whose (it>“10.48.128.0” and it<“10.48.159.255”) of adapters whose (status of it=1) of network)) OR (exists address whose (it>“10.48.160.0” and it<“10.48.167.255”) of adapters whose (status of it=1) of network)) OR (exists address whose (it>“10.48.176.0” and it<“10.48.177.255”) of adapters whose (status of it=1) of network)) then (“Laboratory”) else (“Workstations”)}" on “{now}” for client
Much appreciated.