forked from aquasecurity/trivy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from aquasecurity/main
mergem
- Loading branch information
Showing
2,064 changed files
with
175,297 additions
and
18,117 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
# Global | ||
* @knqyf263 | ||
|
||
# SBOM/Vulnerability scanning | ||
pkg/dependency/ @knqyf263 @DmitriyLewen | ||
pkg/fanal/ @knqyf263 @DmitriyLewen | ||
pkg/sbom/ @knqyf263 @DmitriyLewen | ||
pkg/scanner/ @knqyf263 @DmitriyLewen | ||
|
||
# Misconfiguration scanning | ||
docs/docs/scanner/misconfiguration @knqyf263 @simar7 | ||
docs/docs/target/aws.md @knqyf263 @simar7 | ||
pkg/fanal/analyzer/config @knqyf263 @simar7 | ||
pkg/cloud @knqyf263 @simar7 | ||
docs/docs/scanner/misconfiguration/ @simar7 @nikpivkin | ||
docs/docs/target/aws.md @simar7 @nikpivkin | ||
pkg/fanal/analyzer/config/ @simar7 @nikpivkin | ||
pkg/cloud/ @simar7 @nikpivkin | ||
pkg/iac/ @simar7 @nikpivkin | ||
|
||
# Helm chart | ||
helm/trivy/ @chen-keinan | ||
|
||
# Kubernetes scanning | ||
pkg/k8s/ @josedonizetti @chen-keinan @knqyf263 | ||
docs/docs/kubernetes/ @josedonizetti @chen-keinan @knqyf263 | ||
pkg/k8s/ @chen-keinan | ||
docs/docs/target/kubernetes.md @chen-keinan |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,47 @@ | ||
title: "<company name> " | ||
title: "<company name>" | ||
labels: ["adopters"] | ||
body: | ||
- type: checkboxes | ||
- type: textarea | ||
id: info | ||
attributes: | ||
label: Please select all the scan targets that you are using | ||
options: | ||
- label: Container Images | ||
- label: Filesystem | ||
- label: Git Repository | ||
- label: Virtual Machine Images | ||
- label: Kubernetes | ||
- label: AWS | ||
label: "[Optional] How do you use Trivy?" | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: info | ||
attributes: | ||
label: "[Optional] Can you provide us with a quote on your favourite part of Trivy? This may be used on the trivy.dev website, posted on Twitter (@AquaTrivy) or similar marketing material." | ||
validations: | ||
required: false | ||
- type: checkboxes | ||
attributes: | ||
label: Which scanners are you using on those scan targets? | ||
label: "[Optional] Which targets are you scanning with Trivy?" | ||
options: | ||
- label: OS packages and software dependencies in use (SBOM) | ||
- label: Known vulnerabilities (CVEs) | ||
- label: IaC issues and misconfigurations | ||
- label: Sensitive information and secrets | ||
- label: Software licenses | ||
- label: "Container Image" | ||
- label: "Filesystem" | ||
- label: "Git Repository" | ||
- label: "Virtual Machine Image" | ||
- label: "Kubernetes" | ||
- label: "AWS" | ||
- label: "SBOM" | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: info | ||
- type: checkboxes | ||
attributes: | ||
label: "[Optional] What kind of issues are scanning with Trivy?" | ||
options: | ||
- label: "Software Bill of Materials (SBOM)" | ||
- label: "Known vulnerabilities (CVEs)" | ||
- label: "IaC issues and misconfigurations" | ||
- label: "Sensitive information and secrets" | ||
- label: "Software licenses" | ||
- type: markdown | ||
attributes: | ||
label: "Additional Information" | ||
description: "Please tell us more about your use case of Trivy -- anything that you would like to share 🎉" | ||
value: | | ||
... | ||
validations: | ||
required: false | ||
## Get in touch | ||
We are always looking for | ||
* User feedback | ||
* Collaboration with other companies and organisations | ||
* Or just to have a chat with you about trivy. | ||
If any of this interests you or your marketing team, please reach out at: [email protected] | ||
We would love to hear from you! |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Auto-close issues | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
close_issue: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Close issue if user does not have write or admin permissions | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
// Get the issue creator's username | ||
const issueCreator = context.payload.issue.user.login; | ||
// Check the user's permissions for the repository | ||
const repoPermissions = await github.rest.repos.getCollaboratorPermissionLevel({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
username: issueCreator | ||
}); | ||
const permission = repoPermissions.data.permission; | ||
// If the user does not have write or admin permissions, leave a comment and close the issue | ||
if (permission !== 'write' && permission !== 'admin') { | ||
const commentBody = "Please see https://aquasecurity.github.io/trivy/latest/community/contribute/issue/"; | ||
await github.rest.issues.createComment({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: context.payload.issue.number, | ||
body: commentBody | ||
}); | ||
await github.rest.issues.update({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: context.payload.issue.number, | ||
state: 'closed', | ||
state_reason: 'not_planned' | ||
}); | ||
console.log(`Issue #${context.payload.issue.number} closed because ${issueCreator} does not have sufficient permissions.`); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Auto-update labels | ||
on: | ||
push: | ||
paths: | ||
- 'misc/triage/labels.yaml' | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
name: Auto-update labels | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout main | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
|
||
- name: Install aqua tools | ||
uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
|
||
- name: update labels | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: mage label |
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
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
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
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
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
Oops, something went wrong.