AnsweredAssumed Answered

API calls changed? 403 Forbidden

Question asked by Sam Friday on Apr 2, 2019
Latest reply on Jun 4, 2019 by Sam Friday

Have the API call changed in the last week on platform 1?

I am able to login via API on multiple machines but get a (403) Forbidden on the call below;

NOTE:  This has been running with no issue for over a year .

$v2_server = "qualysapi.qualys.com"
$url = 'https://'+$v2_server+"/api/2.0/fo/scan/?action=list&state=Running"
$Currentscans=Invoke-RestMethod -Uri $url -Method get -Headers $header -Proxy $proxyUri -UseBasicParsing -WebSession $websession

 

I have checked our firewall and proxy and both allow these connections.

 

Please advise.

Outcomes