TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Eljakani/ward/llms.txt
Use this file to discover all available pages before exploring further.
ward init command creates the necessary configuration directory and files for Ward in your home directory.
Usage
What It Creates
Runningward init creates the ~/.ward directory with the following structure:
- config.yaml - Main configuration file for customizing scan behavior
- rules/ - Directory for custom security rules (YAML format)
- reports/ - Directory where scan reports are saved
- store/ - Internal storage for scan results
Options
Overwrite existing config files if they already exist
Examples
Basic Initialization
Initialize Ward for the first time:Force Overwrite
Reinitialize and overwrite existing configuration:config.yaml and recreate the directory structure, useful for resetting to defaults.
Next Steps
After initialization:- Edit
~/.ward/config.yamlto customize scan settings - Add custom security rules by placing YAML files in
~/.ward/rules/ - Run your first scan with
ward scan <path>