Skip to content

Formatting of Get-FalconVulnerability command #92

Answered by bk-cs
cjlane0289 asked this question in Q&A
Discussion options

You must be logged in to vote

If you can cut/paste plaintext examples into your issue it is easier for me to review them.

The "grouping" of the field data is due to Export-Csv attempting to convert those fields into a string value. This behavior isn't restricted to PSFalcon or the Spotlight APIs--it's how PowerShell works when you try to Export-Csv.

Have you seen Export-FalconReport? I created that command to make it easier to export to CSV. It does filter out some fields, but I tried to select what seemed like the relevant data from each request type.

Try this and see if it works for you:

Get-FalconVulnerability -All -Detailed -Filter $Filter | Export-FalconReport -Path $vulnerabilities

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bk-cs
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #60 on September 24, 2021 15:19.