Skip to main content

Integrate Lacework Into CI/CD

Lacework supports a number of CI/CD providers. Below we will review each of the supported integration:

Github Actions Integration 📎

Integrate with GitHub Actions

Add the variables LW_ACCESS_TOKEN and LW_ACCOUNT_NAME to your pipeline in GitHub Actions. See Configure Authentication Using Environment Variables and GitHub Environments Documentation

- uses: lacework/lw-scanner-action@v1.0.0
  name: Scan container image for vulnerabilities using Lacework
  with:
    LW_ACCOUNT_NAME: ${{ secrets.LW_ACCOUNT_NAME }} 
    LW_ACCESS_TOKEN: ${{ secrets.LW_ACCESS_TOKEN }}
    IMAGE_NAME: YourImageName
    IMAGE_TAG: YourImageTag

For more information about other available options, see GitHub Action for using the Lacework inline scanner.

You can use the executable or the Docker container. See Docker Image for Inline Scanner.