Create script-based checks
Slang supports checks written in other common scripting languages, in addition to the built-in library of standards-based checks. Scripts can be in any format or language that the scan target supports.
For Windows, use:
- Batch files
- PowerShell
- VBScript
- JScript
For Linux, use:
- Bash
- Perl
These actions are required:
- Complete Add profiles and parameters.
- Complete Import and Update SCAP (XML).
Create a script-based check
Script checks use the Script Check Engine (SCE) standard. See Script Check Engine for more information. You can use Slang parameters with script-based checks the same way as regular Slang checks.
Add a script-based check to a rule
When you add scripts to your ~/Slang/check_scripts folder, you can use them in Slang rules. See Add rules to the project for more information.