- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
CCP API Request example (this is the format expected in the first two scripts below):
https://ccp.cybr.com/AIMWebService/api/Accounts?appid=sampleapp&safe=demosafe&address=1.1.1.1
For use with .cer certificate file:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$URI = "CCP API request"
$cert = "Absolute path of .cer file"
$res = (Invoke-RestMethod -Method Get -Uri $URI -Certificate $cert)
echo $res
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$URI = "CCP API request"
$certPath = "Absolute path of .pfx file"
$cert = Get-PfxCertificate -FilePath $certPath
$res = (Invoke-RestMethod -Method Get -Uri $URI -Certificate $cert)
echo $res