falcon

package
v1.6.7-0...-24a54a3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 20 Imported by: 1

README

CrowdStrike Falcon Tester

What tester does

  • Tester installs Falcon Operator on the cluster
  • tester deploys FalconContainer Custom Resource to the cluster
    • The operator then picks up the resource and installs CrowdStrike Falcon Container Workload Protection to the cluster
  • Tester verifies the Falcon Container is installed properly

Exemplary usage:

  • Create new EKS cluster and obtain kubeconfig

  • Establish new API credentials with CrowdStrike Falcon plaform at https://falcon.crowdstrike.com/support/api-clients-and-keys; minimal required permissions are: Falcon Images Download: Read Sensor Download: Read

  • It is recommended to provide the API credentials to the tester by the means of environment variables

    export FALCON_CLIENT_ID="ASFD"
    export FALCON_CLIENT_SECRET="ASFD"
    
  • Apply the tester

    go run ./cmd/k8s-tester-falcon apply \
        --kubectl-path="$(which kubectl)" \
        --kubeconfig-path="$HOME/.kube/config"
    
  • Delete the tester

    go run ./cmd/k8s-tester-falcon delete \
        --kubectl-path="$(which kubectl)" \
        --kubeconfig-path="$HOME/.kube/config"
    

Additional Resources

Documentation

Overview

Package falcon install Falcon Operator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Env

func Env() string

func New

func New(cfg *Config) k8s_tester.Tester

Types

type Config

type Config struct {
	Enable bool `json:"enable"`
	Prompt bool `json:"-"`

	Stopc     chan struct{} `json:"-"`
	Logger    *zap.Logger   `json:"-"`
	LogWriter io.Writer     `json:"-"`
	Client    client.Client `json:"-"`

	FalconClientId     string `json:"falcon_client_id"`
	FalconClientSecret string `json:"falcon_client_secret"`
}

func NewDefault

func NewDefault() *Config

func (*Config) ValidateAndSetDefaults

func (cfg *Config) ValidateAndSetDefaults() error

Directories

Path Synopsis
cmd
k8s-tester-falcon
k8s-tester-falcon installs Falcon Operator, Falcon Container and validates the install
k8s-tester-falcon installs Falcon Operator, Falcon Container and validates the install

Jump to

Keyboard shortcuts

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