Merge pull request #8733 from Security-Onion-Solutions/config

Always use local docs
This commit is contained in:
Jason Ertel authored and GitHub committed 2022-09-13 14:40:10 -04:00
commit 0d32cc38d6
2 files changed
+3 -13

No files matched your search

+3 -3
View File
@@ -91,9 +91,9 @@ soc:
userFiles:
- rbac/users_roles
client:
docsUrl: https://docs.securityonion.net/en/2.3/
cheatsheetUrl: https://github.com/Security-Onion-Solutions/securityonion-docs/raw/2.3/images/cheat-sheet/Security-Onion-Cheat-Sheet.pdf
releaseNotesUrl: https://docs.securityonion.net/en/2.3/release-notes
docsUrl: /docs/
cheatsheetUrl: /docs/cheatsheet.pdf
releaseNotesUrl: /docs/#release-notes
apiTimeoutMs: 0
webSocketTimeoutMs: 0
tipTimeoutMs: 0
-10
View File
@@ -21,16 +21,6 @@
{# since cases is not a valid soc config item and only used for the map files, remove it from being placed in the config #}
{% do SOCMERGED.server.modules.pop('cases') %}
{# change some options if this is airgap #}
{% if GLOBALS.airgap %}
{% do SOCMERGED.server.client.update({
'docsUrl': '/docs/',
'cheatsheetUrl': '/docs/cheatsheet.pdf',
'releaseNotesUrl': '/docs/#release-notes'
})
%}
{% endif %}
{% if pillar.manager.playbook == 0 %}
{% do SOCMERGED.server.client.inactiveTools.append('toolPlaybook') %}
{% endif %}