mirror of
https://github.com/ovh/debian-cis.git
synced 2025-08-04 14:21:15 +02:00

- at_is_restricted.sh -> 2.4.2.1 - wireless_interfaces_disabled.sh -> 3.1.2 - bluetooth_is_disabled.sh -> 3.1.3 - sudo_no_nopasswd.sh -> 5.2.4 - aide_is_installed.sh -> 6.1.1
32 lines
968 B
YAML
32 lines
968 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: check_has_test
|
|
name: check_has_test.sh
|
|
description: Ensure a check has a corresponding test
|
|
entry: hooks/check_has_test.sh
|
|
language: script
|
|
pass_filenames: true
|
|
files: "^bin/hardening/"
|
|
- id: shfmt
|
|
name: shfmt.sh
|
|
description: Ensure correct formatting
|
|
entry: hooks/shfmt.sh
|
|
language: script
|
|
pass_filenames: true
|
|
files: "^(bin|tests)/hardening/"
|
|
- id: shellcheck
|
|
name: shellcheck.sh
|
|
description: Ensure correct syntax
|
|
entry: hooks/shellcheck.sh
|
|
language: script
|
|
pass_filenames: true
|
|
files: "^(bin|tests)/hardening/"
|
|
- id: check_is_executable
|
|
name: check_is_executable.sh
|
|
description: Ensure checks are executables
|
|
entry: hooks/check_is_executable.sh
|
|
language: script
|
|
pass_filenames: true
|
|
files: "^bin/hardening/"
|