AppArmor
:lipstick: A Sublime Text 3+ syntax definition for your AppArmor profiles
Details
Installs
- Total 68
- Win 36
- Mac 19
- Linux 13
Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 1 | 1 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
AppArmor
A Sublime Text 3+ syntax definition for your AppArmor profiles
Introduction
AppArmor is a Linux kernel module implementing a mandatory access control (MAC), which allows system administrators to confine their applications by writing intelligible plain text profiles.
This project aims to provide a “basic” profile syntax definition for Sublime Text.
Installation
With Package Control
- Open your command palette and type in :
Package Control: Install Package
- Browse the list or search for
AppArmor
- Press
Enter
and you're done !
Package Control dedicated page here.
Manually
- Go to the Sublime Text packages folder (usually
$HOME/.config/sublime-text/Packages/
or%AppData%\Sublime Text\Packages\
) - Clone this repository there :
git clone https://github.com/HorlogeSkynet/AppArmor.git
- Restart Sublime Text and… :tada:
Usage
Syntax
Open your command palette and type in :
Set Syntax: AppArmor
Click on the bottom-right corner :
AppArmor
View > Syntax > AppArmor
Build
Open your command palette and type in :
Build With: AppArmor
Press
CTRL + B
Tools > Build
Frequently Asked Questions
Do you plan to support the whole AppArmor syntax ?
No, but feel free to contribute.
Why does this syntax coloration s*cks ?
Well, sorry to hear that. Grammar wasn't my favorite course at school.
I'd be pleased to review any issue or pull request.
Why didn't you convert the official Yacc parser to Sublime's definition syntax ?
It looks like such a tool does not exist (yet ?).
Would this plugin help me write a secure AppArmor profile for my application ?
No, but I would advise you to read a full set of AppArmor profiles publicly maintained by @roddhjav.
I've noticed you got an extensive tests suite, can I run it ?
Of course, open the
AppArmor.sublime-syntax
file, pressCTRL + Shift + B
and chooseBuild With: Syntax Tests
.