Created
September 28, 2023 16:49
-
-
Save safinsingh/835a2ec96bf272dac908e7cbbf55e281 to your computer and use it in GitHub Desktop.
Aeacus Code Snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"CommandContains": { | |
"prefix": "cc", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'CommandContains'", | |
"cmd = '$3'", | |
"value = '$4'" | |
] | |
}, | |
"CommandContainsNot": { | |
"prefix": "ccn", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'CommandContainsNot'", | |
"cmd = '$3'", | |
"value = '$4'" | |
] | |
}, | |
"CommandContainsRegex": { | |
"prefix": "ccr", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'CommandContainsRegex'", | |
"cmd = '$3'", | |
"value = '$4'" | |
] | |
}, | |
"CommandContainsRegexNot": { | |
"prefix": "ccrn", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'CommandContainsRegexNot'", | |
"cmd = '$3'", | |
"value = '$4'" | |
] | |
}, | |
"CommandOutput": { | |
"prefix": "co", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'CommandOutput'", | |
"cmd = '$3'", | |
"value = '$4'" | |
] | |
}, | |
"CommandOutputNot": { | |
"prefix": "con", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'CommandOutputNot'", | |
"cmd = '$3'", | |
"value = '$4'" | |
] | |
}, | |
"FileContains": { | |
"prefix": "fc", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'FileContains'", | |
"path = '$3'", | |
"value = '$4'" | |
] | |
}, | |
"FileContainsNot": { | |
"prefix": "fcn", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'FileContainsNot'", | |
"path = '$3'", | |
"value = '$4'" | |
] | |
}, | |
"FileContainsRegex": { | |
"prefix": "fcr", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'FileContainsRegex'", | |
"path = '$3'", | |
"value = '$4'" | |
] | |
}, | |
"FileContainsRegexNot": { | |
"prefix": "fcrn", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'FileContainsRegexNot'", | |
"path = '$3'", | |
"value = '$4'" | |
] | |
}, | |
"PathExists": { | |
"prefix": "pe", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'PathExists'", | |
"path = '$3'" | |
] | |
}, | |
"PathExistsNot": { | |
"prefix": "pen", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'PathExistsNot'", | |
"path = '$3'" | |
] | |
}, | |
"ServiceUp": { | |
"prefix": "su", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'ServiceUp'", | |
"name = '$3'" | |
] | |
}, | |
"ServiceUpNot": { | |
"prefix": "sun", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'ServiceUpNot'", | |
"name = '$3'" | |
] | |
}, | |
"ProgramInstalled": { | |
"prefix": "pi", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'ProgramInstalled'", | |
"name = '$3'" | |
] | |
}, | |
"ProgramInstalledNot": { | |
"prefix": "pin", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'ProgramInstalledNot'", | |
"name = '$3'" | |
] | |
}, | |
"PermissionIs": { | |
"prefix": "pei", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'PermissionIs'", | |
"path = '$3'" | |
"value = '$4'" | |
] | |
}, | |
"PermissionIsNot": { | |
"prefix": "pein", | |
"body": [ | |
"[[check]]", | |
"message = '$1'", | |
"points = $2", | |
"[[check.pass]]", | |
"type = 'PermissionIsNot'", | |
"path = '$3'" | |
"value = '$4'" | |
] | |
}, | |
"BlankCheck": { | |
"prefix": "bc", | |
"body": ["[[check]]", "message = '$1'", "points = $2", "[[check.pass]]", "type = '$3'"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment