proxy-scanner
by smarriott
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
-
Download the latest release of the proxy-scanner from https://github.com/lacework/helm-charts
-
Edit values.yaml (~/lacework/helm/proxy-scanner/values.yaml) to update the config information as cited above. [Required]
-
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.
-
Install proxy scanner cd lacework helm install -n lacework --create-namespace lacework-proxy-scanner ./helm/proxy-scanner
-
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
| Parameter | Description | Default | Mandatory |
|---|---|---|---|
certs.skipCert | Use https between Lacework Admission controller and scanner | N/A | NO |
certs.serverCertificate | Certificate for TLS authentication with the Admission controller | N/A | NO |
certs.serverKey | Certificate key for TLS authentication with the Admission controller | N/A | NO |
config | Registry credentials as specified in values.yaml | N/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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartproxy-scanner is pinned at v0.23.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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