Skip to content

Commit

Permalink
GITBOOK-578: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
Whitespots authored and gitbook-bot committed Dec 15, 2024
1 parent fcf17f2 commit cccab20
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* [AppSec Portal cooperation](auditor/run-audit/appsec-portal-cooperation.md)
* [Direct use of Auditor](auditor/run-audit/direct-use-of-auditor.md)
* [🗒️ Release notes](auditor/release-notes.md)
* [🩼 Maintenance](auditor/maintenance.md)

## 🖥️ AppSec Portal

Expand Down Expand Up @@ -80,7 +81,7 @@
* [Gosec](appsec-portal/scanners/scanner-description/code-scanners/gosec.md)
* [Hadolint](appsec-portal/scanners/scanner-description/code-scanners/hadolint.md)
* [KICS](appsec-portal/scanners/scanner-description/code-scanners/kics.md)
* [PHPCodeSniffer](appsec-portal/scanners/scanner-description/code-scanners/php\_codesniffer.md)
* [PHPCodeSniffer](appsec-portal/scanners/scanner-description/code-scanners/php_codesniffer.md)
* [Retire.js](appsec-portal/scanners/scanner-description/code-scanners/retire.js.md)
* [Semgrep](appsec-portal/scanners/scanner-description/code-scanners/semgrep.md)
* [SpotBugs](appsec-portal/scanners/scanner-description/code-scanners/spotbugs.md)
Expand Down
15 changes: 15 additions & 0 deletions auditor/maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 🩼 Maintenance

## No space left on device

If you see this message, it means that our cleaner job has not finished it's work and volumes from containers haven't removed

You may create a crontab via `crontab -e` to remove volumes every 15 minutes.

Example:

```
*/15 * * * * docker compose -f /opt/auditor/docker-compose.yml exec scanner-worker sh -c "docker volume rm \$(docker volume ls -q)"
*/15 * * * * echo "cleaning of volumes is done: " > /opt/auditor/last-cron-cleanup.txt
*/15 * * * * date >> /opt/auditor/last-cron-cleanup.txt
```

0 comments on commit cccab20

Please sign in to comment.