falcon_discover_host_details

command
v0.2.34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2023 License: MIT Imports: 9 Imported by: 0

README

Falcon Discover Host Details

Stand-alone tool that uses Falcon Discover Host API to gain timely visibility into your environment.

Installation

go get github.com/crowdstrike/gofalcon/examples/falcon_discover_host_details

Exemplary Usage

Get full details of all the Falcon Discover assets

$ FALCON_CLIENT_ID="abc" FALCON_CLIENT_SECRET="XYZ" FALCON_CLOUD=us-1 \
      falcon_discover_host_details

Get total number of hosts

falcon_discover_host_details | jq length

Get full details of assets without Agent ID assigned

falcon_discover_host_details | jq -r 'map(select(has("aid") | not))'

Example using server side filtering to fetch subset of the assets

falcon_discover_host_details --filter='platform_name:"Windows"' | jq length

Please refer to Falcon Discover API documentation to learn more about FQL filter parameter, about the meaning of the entity properties and best practices. Further, please refer to jq tool manual to learn how to effectively post-process JSON outputs in command-line.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL