Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TH2-4566] added OWASP vulnerabilities scanning #2

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Xanclry
Copy link

@Xanclry Xanclry commented Jan 17, 2023

No description provided.

Comment on lines +92 to +100
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run OWASP scanning
run: ./gradlew dependencyCheckAggregate
- name: Upload OWASP scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use resulable workflow

    uses: th2-net/.github/.github/workflows/owasp-gradle-scan.yml@main
    with:
      multiproject: true

Comment on lines +201 to +207
- name: Checkout code
uses: actions/checkout@v3
- name: Run OWASP scanning
run: ./gradlew dependencyCheckAggregate
- name: Upload OWASP scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, use reusable workflow instead

Comment on lines +18 to +24
allprojects {
apply plugin: 'org.owasp.dependencycheck'

dependencyCheck {
formats=['SARIF']
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to apply if for all projects. Just for the root one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants