AnsweredAssumed Answered

Question on creating AG for a Business Unit and Network

Question asked by Damian OHara on Apr 4, 2017
Latest reply on Apr 6, 2017 by Damian OHara

I need to create over 100 asset groups (AGs) for a business unit which is linked to a network other than global default.

 

My (bash) script works fine to create the AG and populate with an IP range but I am unable to find how to do the following, if its even possible:

 

Assign an owner from the business unit to the AG. Only option I have in the UI is to other Managers and I can't see the API way of specifying this (I'm sure I used to be able to do this). Otherwise the AG is owned by the API user and the real business unit manager can't edit.

 

Is it a Business Unit limitation and I need to add the users into the AG ? Would that help ? If so is it possible to use the API for that ?

 

API call I'm using is:

curl --insecure -s -u "${SCANUSER}:${SCANPASS}" "https://qualysapi.qualys.${SOC}/msp/asset_group.php?action=add&title=${AGNAME}&host_ips=${AG_IP}&scanner_appliances=${SCANNER}&default_scanner_appliance=${SCANNER}&network_id=${NETWORKID}"

Outcomes