Overview
platform talks to the clone API from a terminal. This is not CrowdStrike
production. Compose Traefik is :8088.
platform hello is a sample greeting. Product traffic is REST collections
(see REST and Hosts). There is no platform hosts
subcommand.
| Command | What it does |
|---|---|
platform hello | Fetch the sample greeting |
platform health | Check that the API is up |
export PLATFORM_GRPC=crowdstrike-grpc.localhost:8088
export PLATFORM_REST=http://crowdstrike-api.localhost:8088
export PLATFORM_TOKEN='<access_token from POST /oauth2/token>'
platform hello
platform health
Optional config file: ~/.platform/config.json (endpoint, rest_endpoint,
token). These environment variables override the file: PLATFORM_GRPC,
PLATFORM_REST, PLATFORM_TOKEN.
If you set nothing: gRPC 127.0.0.1:9090, REST http://127.0.0.1:8080.