Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
287 views
in Technique[技术] by (71.8m points)

nessus - PowerBI - Failed to load Web.Contents

So, I am trying to connect PowerBI with a tenable SC instance and keep running into this issue: enter image description here

Here's the code I have so far... almost anytime I try to get to "rest/analysis" it says Forbidden but has been saying that anytime something doesn't exist, etc. I have admin rights and access is okay.

    let
    url = "https://scnessus(REMOVED)/rest/analysis/download",
    body = "{""type"": vuln, ""query"": {""id"":6056}}",
    Parsed_JSON = Json.Document(body),
    BuildQueryString = Uri.BuildQueryString(Parsed_JSON),
    Source = Json.Document(Web.Contents(url, [Headers=[#"x-apikey"="accesskey=REMOVED; secretkey=REMOVED", #"Content-Type"="application/json"], Content = Text.ToBinary(body)]))
in
    Source

Here's what I am using to figure this out, along with online guides for programming this correctly since I am not familiar with this... https://docs.tenable.com/tenablesc/api/Analysis.htm

question from:https://stackoverflow.com/questions/65943014/powerbi-failed-to-load-web-contents

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...