Add versioned Audita config support
This commit is contained in:
25
README.md
25
README.md
@@ -40,6 +40,7 @@ CLI help:
|
||||
```sh
|
||||
audita --help
|
||||
audita process --help
|
||||
audita config --help
|
||||
```
|
||||
|
||||
## Test
|
||||
@@ -65,6 +66,16 @@ audita process transcript.json \
|
||||
--report-json report.json
|
||||
```
|
||||
|
||||
Recommended config-based run:
|
||||
|
||||
```sh
|
||||
audita process transcript.json \
|
||||
--glossary glossary.yaml \
|
||||
--config audita.yml \
|
||||
--output corrected.json \
|
||||
--report-json report.json
|
||||
```
|
||||
|
||||
Explicit module override:
|
||||
|
||||
```sh
|
||||
@@ -116,8 +127,18 @@ For subprocess orchestration guidance, see [`docs/subprocess-operations.md`](doc
|
||||
|
||||
Precedence:
|
||||
1. defaults
|
||||
2. environment (`AUDITA_*`)
|
||||
3. CLI flags
|
||||
2. config file (`--config`, `AUDITA_CONFIG`, or `/etc/audita/config.yml` when present)
|
||||
3. environment (`AUDITA_*`)
|
||||
4. CLI flags
|
||||
|
||||
Config commands:
|
||||
|
||||
```sh
|
||||
audita config validate --config audita.yml
|
||||
audita config print-effective --config audita.yml
|
||||
```
|
||||
|
||||
For full config-file schema and examples, see [`docs/configuration.md`](docs/configuration.md).
|
||||
|
||||
### Modules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user