proxy-scanner

by smarriott

Helm chartv0.23.2App 1.0Verified publisher

A Helm chart for Lacework Proxy Scanner

About this chart

Proxy Scanner Helm Chart

Instructions for using HELM charts to deploy the Lacework Proxy Scanner.

Proxy scanner configuration:

More details can be found at https://support.lacework.com/hc/en-us/articles/1500004222981-Integrate-Proxy-Scanner

config:
  scan_public_registries: true
  static_cache_location: /opt/lacework
  lacework:
    account_name: 
    integration_access_token: 
  registries:
  registry_secret_name:
  - domain:
    name:
    ssl:
    auto_poll:
    is_public:
    auth_type:
    auth_header_name: Authorization
    credentials:
      user_name:
      password:
    notification_type:
    poll_frequency_minutes: 20
    disable_non_os_package_scanning: false
    go_binary_scanning:
      enable: false
      scan_directory_path: ""

Using release packages

  1. Download the latest release of the proxy-scanner from https://github.com/lacework/helm-charts

  2. Edit values.yaml (~/lacework/helm/proxy-scanner/values.yaml) to update the config information as cited above. [Required]

  3. To secure communication when used with the Lacework admission controller, generate certs for this service and set the following values in values.yaml [Optional]

    skipCert: false
    serverCertificate: "<base64_encoded_admission.crt>"
    serverKey: "<base64_encoded_admission.key>"
    

    Remember to keep the root CA cert carefully in order to populate that in Lacework admission controller settings.

  4. Install proxy scanner cd lacework helm install -n lacework --create-namespace lacework-proxy-scanner ./helm/proxy-scanner

  5. Display the pods for verification kubectl get pods -n lacework

Adding helm repo

helm repo add lacework https://lacework.github.io/helm-charts 

helm upgrade --install --create-namespace --namespace lacework \
    --set certs.skipCert = true \
    --set certs.serverCertificate= ${SCANNER_CERT}\
    --set certs.serverKey= ${SCANNER_KEY}\
    --values values.yaml \
lacework-proxy-scanner lacework/proxy-scanner

Note: Cert related fields are Optional. You should pass base 64 encoded certs/keys you have or can generate using the script file in the repo Values.yaml with the registry credentials as described above is MANDATORY.

Configurable parameters

ParameterDescriptionDefaultMandatory
certs.skipCertUse https between Lacework Admission controller and scannerN/ANO
certs.serverCertificateCertificate for TLS authentication with the Admission controllerN/ANO
certs.serverKeyCertificate key for TLS authentication with the Admission controllerN/ANO
configRegistry credentials as specified in values.yamlN/A YES

Issues and feedback

If you encounter any problems or would like to give us feedback on this deployment, we encourage you to raise issues here on GitHub.

Deploy proxy-scanner with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has proxy-scanner on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartproxy-scanner is pinned at v0.23.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply