Repository navigation
Commit 9b30c56
refactor: rename init() to Register*() in hipaa_164 compliance checks
Renamed all package-level init() functions to explicit Register*() functions
in 3 hipaa_164 compliance check files. Created pkg/compliance/checks/hipaa_164/init.go
to call all register functions explicitly. Removed all.go with blank imports.
This prevents automatic execution for all components in the busybox binary.
Compliance checks now only run when explicitly initialized via checks.Init()
in central/app/app.go.
Files changed:
- check308a3iib/check.go: init() → RegisterCheck308a3iib()
- check308a4/check.go: init() → RegisterCheck308a4()
- check312e1/check.go: init() → RegisterCheck312e1()
- all.go: deleted (blank imports no longer needed)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 6744213 commit 9b30c56
5 files changed
Lines changed: 18 additions & 11 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments