-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added new module sentinelone_download_agent module and install_agent role * Fix Pipeline
- Loading branch information
1 parent
ee9ca9a
commit 68082a3
Showing
31 changed files
with
792 additions
and
102 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
### REQUIRED | ||
# The namespace of the collection. This can be a company/brand/organization or product namespace under which all | ||
# content lives. May only contain alphanumeric lowercase characters and underscores. Namespaces cannot start with | ||
|
@@ -8,14 +9,14 @@ namespace: "sva" | |
name: "sentinelone" | ||
|
||
# The version of the collection. Must be compatible with semantic versioning | ||
version: "1.0.3" | ||
version: "1.1.0" | ||
|
||
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection | ||
readme: "README.md" | ||
|
||
# A list of the collection's content authors. Can be just the name or in the format 'Full Name <email> (url) | ||
# @nicks:irc/im.site#channel' | ||
authors: | ||
authors: | ||
- Marco Wester <[email protected]> | ||
|
||
### OPTIONAL but strongly recommended | ||
|
@@ -24,14 +25,17 @@ description: "Collection for Sentinelone Modules" | |
|
||
# Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only | ||
# accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file' | ||
license: "Apache-2.0" | ||
license: | ||
- "GPL-3.0-or-later" | ||
# The path to the license file for the collection. This path is relative to the root of the collection. This key is | ||
# mutually exclusive with 'license' | ||
license_file: "" | ||
license_file: "LICENSE" | ||
|
||
# A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character | ||
# requirements as 'namespace' and 'name' | ||
tags: | ||
tags: | ||
- application | ||
- security | ||
- sentinelone | ||
- sentinelone_config_overrides | ||
- sentinelone_filters | ||
|
@@ -40,6 +44,10 @@ tags: | |
- sentinelone_policies | ||
- sentinelone_sites | ||
- sentinelone_upgrade_policies | ||
- install_agent | ||
|
||
dependencies: | ||
ansible.windows: "*" | ||
|
||
# The URL of the originating SCM repository | ||
repository: "https://github.com/svalabs/sva.sentinelone" | ||
|
@@ -57,6 +65,6 @@ issues: "https://github.com/svalabs/sva.sentinelone/issues" | |
# artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This | ||
# uses 'fnmatch' to match the files or directories. Some directories and files like 'galaxy.yml', '*.pyc', '*.retry', | ||
# and '.git' are always filtered | ||
build_ignore: | ||
build_ignore: | ||
- .github/** | ||
- .gitignore |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
version: 1 | ||
|
||
version: 3 | ||
dependencies: | ||
python: requirements.txt | ||
galaxy: requirements.yml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/python | ||
# -*- coding: utf-8 -*- | ||
|
||
# Copyright: (c) 2023, Marco Wester <[email protected]> | ||
# Copyright: (c) 2024, Marco Wester <[email protected]> | ||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | ||
from __future__ import (absolute_import, division, print_function) | ||
__metaclass__ = type | ||
|
@@ -108,15 +108,15 @@ | |
EXAMPLES = r''' | ||
--- | ||
- name: Create/Update config_override for all agents on site | ||
sentinelone_config_overrides: | ||
sva.sentinelone.sentinelone_config_overrides: | ||
console_url: "https://XXXXX.sentinelone.net" | ||
token: "XXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
site_name: "test" | ||
name: "test_override" | ||
os_type: "windows" | ||
config_override: { powershellProtection: true } | ||
- name: Create/Update config_override for all agents on group | ||
sentinelone_config_overrides: | ||
sva.sentinelone.sentinelone_config_overrides: | ||
console_url: "https://XXXXX.sentinelone.net" | ||
token: "XXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
site_name: "test" | ||
|
@@ -126,7 +126,7 @@ | |
config_override: | ||
powershellProtection: true | ||
- name: Create/Update config_override for specific agent version on group | ||
sentinelone_config_overrides: | ||
sva.sentinelone.sentinelone_config_overrides: | ||
console_url: "https://XXXXX.sentinelone.net" | ||
token: "XXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
site_name: "test" | ||
|
@@ -137,15 +137,15 @@ | |
config_override: | ||
powershellProtection: true | ||
- name: Delete config_override for all agents on group | ||
sentinelone_config_overrides: | ||
sva.sentinelone.sentinelone_config_overrides: | ||
console_url: "https://XXXXX.sentinelone.net" | ||
token: "XXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
site_name: "test" | ||
state: "absent" | ||
group: "testgroup" | ||
os_type: "windows" | ||
- name: Delete config_override for specific agent version on site | ||
sentinelone_config_overrides: | ||
sva.sentinelone.sentinelone_config_overrides: | ||
console_url: "https://XXXXX.sentinelone.net" | ||
token: "XXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
site_name: "test" | ||
|
@@ -507,7 +507,7 @@ def run_module(): | |
|
||
result = dict( | ||
changed=False, | ||
original_message=str(diffs), | ||
original_message=diffs, | ||
message=basic_message | ||
) | ||
|
||
|
Oops, something went wrong.