feat(cli): CLI guided config support for creating Azure AD integration #464
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lacework Code Analysis | |
on: | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
pull-requests: write | |
env: | |
LW_ACCOUNT_NAME: ${{ secrets.LW_ACCOUNT }} | |
LW_API_KEY: ${{ secrets.LW_API_KEY }} | |
LW_API_SECRET: ${{ secrets.LW_API_SECRET }} | |
jobs: | |
run-analysis: | |
runs-on: ubuntu-latest | |
name: Run analysis | |
strategy: | |
matrix: | |
target: [new, old] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Checkout old | |
if: ${{ matrix.target == 'old' }} | |
run: git checkout HEAD^1 | |
- name: Analyze | |
uses: lacework/code-security-action@v1 | |
with: | |
target: ${{ matrix.target }} | |
display-results: | |
runs-on: ubuntu-latest | |
name: Display results | |
needs: | |
- run-analysis | |
steps: | |
- name: Results | |
id: code-analysis | |
uses: lacework/code-security-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |