From cd4b5912edbb43e8f11287902bcf86c989a11604 Mon Sep 17 00:00:00 2001 From: Andrew Ying Date: Fri, 24 Jan 2025 18:52:32 +0000 Subject: [PATCH] Initial commit --- .gitignore | 64 ++++++++++++++++++++++++++++++++++++++++++ .yamllint.yml | 25 +++++++++++++++++ LICENSE.md | 24 ++++++++++++++++ README.md | 3 ++ changelogs/config.yaml | 38 +++++++++++++++++++++++++ galaxy.yml | 25 +++++++++++++++++ 6 files changed, 179 insertions(+) create mode 100644 .gitignore create mode 100644 .yamllint.yml create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 changelogs/config.yaml create mode 100644 galaxy.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..44bd5c2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,64 @@ +# IntelliJ +.idea + +# File-based project format +*.iws + +# IntelliJ +out/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 0000000..c265c66 --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,25 @@ +--- +extends: default + +rules: + braces: + max-spaces-inside: 1 + level: error + brackets: + max-spaces-inside: 1 + level: error + colons: + max-spaces-after: -1 + level: error + commas: + max-spaces-after: -1 + level: error + empty-lines: + max: 3 + level: error + hyphens: + level: error + line-length: + max: 200 + truthy: + check-keys: false diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..8667adc --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,24 @@ +Copyright © 2024-25 Witine Limited and subsidiaries. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..2923e41 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Ansible Collection - witine.crowdsec + +Documentation for the collection. diff --git a/changelogs/config.yaml b/changelogs/config.yaml new file mode 100644 index 0000000..4ad4e6a --- /dev/null +++ b/changelogs/config.yaml @@ -0,0 +1,38 @@ +add_plugin_period: true +changelog_filename_template: ../CHANGELOG.md +changelog_filename_version_depth: 0 +changelog_nice_yaml: false +changelog_sort: alphanumerical +changes_file: changelog.yaml +changes_format: combined +ignore_other_fragment_extensions: true +keep_fragments: false +mention_ancestor: true +new_plugins_after_name: removed_features +notesdir: fragments +output_formats: + - md +prelude_section_name: release_summary +prelude_section_title: Release Summary +sanitize_changelog: true +sections: + - - major_changes + - Major Changes + - - minor_changes + - Minor Changes + - - breaking_changes + - Breaking Changes / Porting Guide + - - deprecated_features + - Deprecated Features + - - removed_features + - Removed Features (previously deprecated) + - - security_fixes + - Security Fixes + - - bugfixes + - Bugfixes + - - known_issues + - Known Issues +title: witine.crowdsec Changelog +trivial_section_name: trivial +use_fqcn: true +vcs: auto diff --git a/galaxy.yml b/galaxy.yml new file mode 100644 index 0000000..e9fe22d --- /dev/null +++ b/galaxy.yml @@ -0,0 +1,25 @@ +--- +namespace: witine +name: crowdsec +version: 0.1.0 +readme: README.md +authors: + - Andrew Ying +description: Collection for deploying CrowdSec + +license: + - BSD-3-Clause + +tags: + - crowdsec + - security + +dependencies: {} + +repository: https://git.witine.com/witine/ansible-collection-crowdsec +documentation: https://git.witine.com/witine/ansible-collection-crowdsec/wiki +homepage: https://git.witine.com/witine/ansible-collection-crowdsec +issues: http://example.com/issue/tracker + +build_ignore: + - .idea