Skip to content

Commit e0cb5eb

Browse files
authored
Merge pull request #46 from ggbecker/update-templates
Update templates
2 parents d43cafd + e29d5d7 commit e0cb5eb

File tree

4 files changed

+159
-151
lines changed

4 files changed

+159
-151
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## [0.0.14] - 2020-11-02
4+
### Fixed
5+
- Template snippet yamlfile_value is updated to latest documentation.
6+
- Template snippets now use "_t" prefix instead of "_template".
7+
- Template snippets now suggest text as comments.
8+
39
## [0.0.13] - 2020-09-30
410
### Added
511
- Option to enable/disable using data from clipboard when opening content files.

README.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -67,38 +67,38 @@ When editing a Rule file (`rule.yml`), code snippets are available. You can simp
6767
- rule - Rule stub
6868
- ident - Identifier item
6969
- templates:
70-
- template_accounts_password
71-
- template_auditd_lineinfile
72-
- template_audit_rules_dac_modification
73-
- template_audit_rules_file_deletion_events
74-
- template_audit_rules_login_events
75-
- template_audit_rules_path_syscall
76-
- template_audit_rules_privileged_commands
77-
- template_audit_rules_unsuccessful_file_modification
78-
- template_audit_rules_unsuccessful_file_modification_o_creat
79-
- template_audit_rules_unsuccessful_file_modification_o_trunc_write
80-
- template_audit_rules_unsuccessful_file_modification_rule_order
81-
- template_audit_rules_usergroup_modification
82-
- template_bls_bootloader_option
83-
- template_file_groupowner
84-
- template_file_owner
85-
- template_file_permissions
86-
- template_grub2_bootloader_argument
87-
- template_kernel_module_disabled
88-
- template_mount
89-
- template_mount_option
90-
- template_mount_option_remote_filesystems
91-
- template_mount_option_removable_partitions
92-
- template_package_installed
93-
- template_package_removed
94-
- template_sebool
95-
- template_service_disabled
96-
- template_service_enabled
97-
- template_shell_lineinfile
98-
- template_sshd_lineinfile
99-
- template_sysctl
100-
- template_timer_enabled
101-
- template_yamlfile_value
70+
- t_accounts_password
71+
- t_auditd_lineinfile
72+
- t_audit_rules_dac_modification
73+
- t_audit_rules_file_deletion_events
74+
- t_audit_rules_login_events
75+
- t_audit_rules_path_syscall
76+
- t_audit_rules_privileged_commands
77+
- t_audit_rules_unsuccessful_file_modification
78+
- t_audit_rules_unsuccessful_file_modification_o_creat
79+
- t_audit_rules_unsuccessful_file_modification_o_trunc_write
80+
- t_audit_rules_unsuccessful_file_modification_rule_order
81+
- t_audit_rules_usergroup_modification
82+
- t_bls_bootloader_option
83+
- t_file_groupowner
84+
- t_file_owner
85+
- t_file_permissions
86+
- t_grub2_bootloader_argument
87+
- t_kernel_module_disabled
88+
- t_mount
89+
- t_mount_option
90+
- t_mount_option_remote_filesystems
91+
- t_mount_option_removable_partitions
92+
- t_package_installed
93+
- t_package_removed
94+
- t_sebool
95+
- t_service_disabled
96+
- t_service_enabled
97+
- t_shell_lineinfile
98+
- t_sshd_lineinfile
99+
- t_sysctl
100+
- t_timer_enabled
101+
- t_yamlfile_value
102102

103103
More details on templates you can find by activating the respective snippet on VSCode/VSCodium or on [ComplianceAsCode/content Templates Section of Developer Guide](https://github.com/ComplianceAsCode/content/blob/master/docs/manual/developer_guide.adoc#732-list-of-available-templates)
104104

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Content Navigator",
55
"description": "Content Navigator helps security content authors to create content for https://github.com/ComplianceAsCode/content",
66
"icon": "icon.png",
7-
"version": "0.0.13",
7+
"version": "0.0.14",
88
"license" : "BSD-3-Clause",
99
"engines": {
1010
"vscode": "^1.34.0"

0 commit comments

Comments
 (0)