Slang Authoring Toolkit quickstart configuration
You can use this configuration workflow to get started with Slang Authoring Toolkit. During these steps, you will create and edit Slang files using Visual Studio Code (VS Code).
These resources are required:
- The Slang Authoring Toolkit installer from the Customer Support Portal
- A Slang license XML file from the Customer Support Portal
- The YAML Language Support Extension for VS Code
- Java Runtime Environment (JRE) or Java Development Kit (JDK) using Java 11 or newer
Note: Make sure that Java is available through your PATH variable.
These actions are required:
- If you do not have experience with VS Code, complete VS Code basics.
- If you do not have experience with YAML, complete YAML tutorial.
- If you are using the Debian installer and want to verify the installer, see Verify the Slang Debian package using OpenSSL
- Complete Test a Slang project.
Install Slang Authoring Toolkit
Create a Slang project
Customize the Slang project
The project.slang file contains general and default settings for your project.
Add rules to the project
Test the project syntax
After you create the project, review your Slang syntax for problems.
In your project, click .
Export Slang to SCAP as XML
Navigate to the Slang directory and run this command:
Where:
SHELL
slang export <project_name> <project_name>.xml
- project_name is the name of your Slang project.
A new
exported_scap folder containing the XML file appears at the base of your project directory. For example, ~/Slang/example_project/exported_scap.