Skip to content

Add a new rule which detects when a file is created with os.Create but the configured permissions are less than 0666 #1051

Add a new rule which detects when a file is created with os.Create but the configured permissions are less than 0666

Add a new rule which detects when a file is created with os.Create but the configured permissions are less than 0666 #1051

Triggered via pull request September 25, 2023 11:18
Status Success
Total duration 5m 51s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 5 warnings
test (1.21.1, latest)
Cannot open: File exists
test (1.21.1, latest)
Cannot open: File exists
test (1.21.1, latest)
Cannot open: File exists
test (1.21.1, latest)
Cannot open: File exists
test (1.21.1, latest)
Cannot open: File exists
test (1.21.1, latest)
Cannot open: File exists
test (1.21.1, latest)
Cannot open: File exists
test (1.21.1, latest)
Cannot open: File exists
test (1.21.1, latest)
Cannot open: File exists
test (1.21.1, latest)
Cannot open: File exists
test (1.20.8, latest)
Cannot open: File exists
test (1.20.8, latest)
Cannot open: File exists
test (1.20.8, latest)
Cannot open: File exists
test (1.20.8, latest)
Cannot open: File exists
test (1.20.8, latest)
Cannot open: File exists
test (1.20.8, latest)
Cannot open: File exists
test (1.20.8, latest)
Cannot open: File exists
test (1.20.8, latest)
Cannot open: File exists
test (1.20.8, latest)
Cannot open: File exists
test (1.20.8, latest)
Cannot open: File exists
test (1.21.1, latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test (1.21.1, latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gosec/gosec. Supported file pattern: go.sum
test (1.20.8, latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test (1.20.8, latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gosec/gosec. Supported file pattern: go.sum
coverage
Restore cache failed: Dependencies file is not found in /home/runner/work/gosec/gosec. Supported file pattern: go.sum