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

Always use local docs
This commit is contained in:
Jason Ertel
2022-09-13 14:40:10 -04:00
committed by GitHub
2 changed files with 3 additions and 13 deletions

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

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 %}