Socket
Socket
Sign inDemoInstall

github.com/aws/aws-k8s-tester/k8s-tester/aqua

Package Overview
Dependencies
12
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/aws/aws-k8s-tester/k8s-tester/aqua

package aqua installs aqua helm charts. ref https://github.com/aquasecurity/aqua-helm


Version published

Readme

Source

How we added/built stand-alone tests for Aqua

  • git clone
  • mkdir/aqua
  • cd aqua/
  • go mod init github.com/aws/aws-k8s-tester/k8s-tester/aqua
  • Create a file to implement the Tester Interface. touch tester.go
  • copy a vend file from another package cp ../vend.sh .
  • Write tests
  • run ./vend.sh
  • run go mod tidy -v

Test/Run singe test stand-alone

go run cmd/k8s-tester-aqua/main.go apply \
    --kubectl-path="/usr/local/bin/kubectl" \
    --kubeconfig-path="/PATHTO/kubeconfig" \
    --log-outputs="aqua.log" \
    --aqua-license="1234567890" \
    --aqua-username="Username" \
    --aqua-password="Password" 

## Delete
go run cmd/k8s-tester-aqua/main.go delete \
    --kubectl-path="/usr/local/bin/kubectl" \
    --kubeconfig-path="/PATHTO/kubeconfig" \
    --log-outputs="aqua.log" \
    --aqua-license="1234567890" \
    --aqua-username="Username" \
    --aqua-password="Password" 

Tests are equivilant to


helm repo add aqua https://helm.aquasec.com

helm repo update

helm upgrade --install --namespace aqua aqua . --set ke.aquasecret.kubeEnforcerToken=12345 --set imageCredentials.username=12345@gmail.com --set imageCredentials.password=12345 --set web.service.type=ClusterIP

FAQs

Last updated on 30 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc