Enclosing directory contains various examples of use of CrowdStrike Falcon Golang SDK. Some of these examples ready to be used as stand-alone programs.
- simple - minimal example that authenticates to Falcon platform and fetches CrowdScore
- falcon_iocs - stand-alone tool that can be used to add, delete or list Custom IOCs in the CrowdStrike Falcon Console
- falcon_sensor_download - stand-alone tool that can be used to download CrowdStrike Falcon Sensor
- falcon_cleanup_pods - stand-alone tool that can be used to clean-up inactive pods from CrowdStrike Falcon interface
- falcon_cspm_ioms - stand-alone tool that leverages CrowdStrike Cloud Security Posture Management (CSPM) to list indicators of misconfigurations (IOMs)
- falcon_detection_details - stand-alone tool that outputs inventory of all Falcon Detections based on custom filter
- falcon_event_stream - stand-alone tool that can be used to stream events as they happen in CrowdStrike Console
- falcon_get_cid - stand-alone tool that can be used to get Customer ID based on the API key pair
- falcon_discover_host_details - stand-alone tool that can be used for auditing purposes and for gaining timely visibility into your environment
- falcon_host_details - stand-alone tool that outputs inventory of hosts registered to CrowdStrike Falcon platform
- falcon_intel_indicators - stand-alone tool that queries CrowdStrike Intelligence Indicators
- falcon_intel_rules_download - stand-alone tool that downloads CrowdStrike Falcon Intelligence Rule files
- falcon_registry_token - helper to generate container registry logic information for
docker login
- falcon_spotlight_vulnerabilities - stand-alone tool that outputs inventory of vulnerabilities affecting your environment
- stream_new_detections - small utility to poll for a new detections in CrowdStrike Console
- oauth_token - a example tool to obtain OAuth2 token for use outside of gofalcon
Many of the examples are useful and valuable as a stand-alone tools. The following instructions can be used to install them all at once
go get -u github.com/crowdstrike/gofalcon/examples/...
curl -sSfL https://raw.githubusercontent.com/crowdstrike/gofalcon/main/examples/install | sudo sh -s