Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add assets to Insight?

Gary.Smith
Contributor
June 10, 2020

Hi All. I am trialing Insight (Cloud) but still can't work out how to import assets into insight.

I have tried to connect via PowerShell\API key but get an error 'Invoke-RestMethod : The remote server returned an error: (403) Forbidden.'

 

Script:

$InsightURL = "https://TrialAccount.atlassian.net/rest/insight/1.0/objectschema/list"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;

$Headers = @{ 
Authorization = "Bearer (APIKEYHERE)" 
'Content-Type' = 'application/json'
}
Invoke-RestMethod -Uri $InsightURL -Headers $headers -Method GET

 

The SCCM importer doesn't work with cloud or I could just use that.

Any help would be great.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events