Skip to content

Commit

Permalink
added handling for all log parser at once with postgres report
Browse files Browse the repository at this point in the history
added password leak in log parser
improved html report handling and design
added log parser in html report
create text based output format
added custom template feature for postgres checks
added new manual checks in postgres
  • Loading branch information
klouddb-dev committed Jul 2, 2024
1 parent 0311abf commit 73603e9
Show file tree
Hide file tree
Showing 86 changed files with 6,261 additions and 3,345 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.1
cache: true
Expand All @@ -22,4 +22,3 @@ jobs:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
only-new-issues: true

4 changes: 2 additions & 2 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.9
go-version: 1.21.11
cache: true
- id: govulncheck
uses: golang/govulncheck-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
- '%m [%p] '

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.1
cache: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: git fetch --force --tags
-
name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.21.1
-
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ config.toml
/kshieldconfig.toml
/cmd/ciscollector/kshieldconfig.toml
.vscode
report.html
report.json
klouddbshield_report.html
klouddbshield_report.txt

docker_testing/pglog/*
14 changes: 12 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@
run:
tests: true
timeout: 10m
skip-files:

issues:
exclude-use-default: true
exclude-case-sensitive: false
exclude-generated-strict: false
exclude-dirs-use-default: true
max-issues-per-linter: 50
max-same-issues: 3
new: false
fix: false
whole-files: false
exclude-files:
- ".*\\.pb\\.go"
skip-dirs-use-default: true

linters-settings:
revive:
Expand Down
Loading

0 comments on commit 73603e9

Please sign in to comment.