mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge branch '2.4/dev' into 2.4/fleet-airgap
This commit is contained in:
@@ -18,7 +18,8 @@ base:
|
||||
|
||||
'*_eval or *_heavynode or *_sensor or *_standalone or *_import':
|
||||
- match: compound
|
||||
- zeek
|
||||
- zeek.soc_zeek
|
||||
- zeek.adv_zeek
|
||||
- bpf.soc_bpf
|
||||
- bpf.adv_bpf
|
||||
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
idstools:
|
||||
config:
|
||||
oinkcode:
|
||||
description: Enter your registration code for paid rulesets.
|
||||
description: Enter your registration/oink code for paid NIDS rulesets.
|
||||
title: registraion code
|
||||
global: True
|
||||
helpLink: rules.html
|
||||
ruleset:
|
||||
description: Define the ruleset you want to run. Options are ETOPEN or ETPRO.
|
||||
description: Defines the ruleset you want to run. Options are ETOPEN or ETPRO.
|
||||
global: True
|
||||
regex: ETPRO\b|ETOPEN\b
|
||||
helpLink: rules.html
|
||||
urls:
|
||||
description: This is a list of additional rule download locations.
|
||||
@@ -14,20 +16,28 @@ idstools:
|
||||
helpLink: rules.html
|
||||
sids:
|
||||
disabled:
|
||||
description: List of SIDS that you want to disable.
|
||||
description: Contains the list of NIDS rules manually disabled across the grid. To disable a rule, add its signature ID (SID) to the Current Grid Value box, one entry per line. To disable multiple rules, you can use regular expressions.
|
||||
global: True
|
||||
multiline: True
|
||||
forcedType: "[]string"
|
||||
regex: \d*|re:.*
|
||||
helpLink: managing-alerts.html
|
||||
enabled:
|
||||
description: List of SIDS that are disabled by the rule source that you want to enable.
|
||||
description: Contains the list of NIDS rules manually enabled across the grid. To enable a rule, add its signature ID (SID) to the Current Grid Value box, one entry per line. To enable multiple rules, you can use regular expressions.
|
||||
global: True
|
||||
multiline: True
|
||||
forcedType: "[]string"
|
||||
regex: \d*|re:.*
|
||||
helpLink: managing-alerts.html
|
||||
modify:
|
||||
description: List of SIDS that you want to modify.
|
||||
description: Contains the list of NIDS rules that were modified from their default values. Entries must adhere to the following format - SID "REGEX_SEARCH_TERM" "REGEX_REPLACE_TERM"
|
||||
global: True
|
||||
multiline: True
|
||||
forcedType: "[]string"
|
||||
helpLink: managing-alerts.html
|
||||
rules:
|
||||
local__rules:
|
||||
description: This is where custom Suricata rules are entered.
|
||||
description: Contains the list of custom NIDS rules applied to the grid. To add custom NIDS rules to the grid, enter one rule per line in the Current Grid Value box.
|
||||
file: True
|
||||
global: True
|
||||
advanced: True
|
||||
|
||||
@@ -16,6 +16,7 @@ kratos:
|
||||
issuer: Security Onion
|
||||
flows:
|
||||
settings:
|
||||
privileged_session_max_age: 5m
|
||||
ui_url: https://URL_BASE/?r=/settings
|
||||
required_aal: highest_available
|
||||
verification:
|
||||
|
||||
@@ -23,7 +23,6 @@ kratos:
|
||||
haveibeenpwned_enabled:
|
||||
description: Set to True to check if a newly chosen password has ever been found in a published list of previously-compromised passwords. Requires outbound Internet connectivity when enabled.
|
||||
global: True
|
||||
advanced: True
|
||||
helpLink: kratos.html
|
||||
totp:
|
||||
enabled:
|
||||
@@ -39,6 +38,10 @@ kratos:
|
||||
helpLink: kratos.html
|
||||
flows:
|
||||
settings:
|
||||
privileged_session_max_age:
|
||||
description: The length of time after a successful authentication for a user's session to remain elevated to a privileged session. Privileged sessions are able to change passwords and other security settings for that user. If a session is no longer privileged then the user is redirected to the login form in order to confirm the security change.
|
||||
global: True
|
||||
helpLink: kratos.html
|
||||
ui_url:
|
||||
description: User accessible URL containing the user self-service profile and security settings. Leave as default to ensure proper operation.
|
||||
global: True
|
||||
|
||||
@@ -16,10 +16,10 @@ type=worker
|
||||
host=localhost
|
||||
interface=af_packet::{{ NODE.interface }}
|
||||
lb_method=custom
|
||||
{%- if NODE.lb_procs %}
|
||||
lb_procs={{ NODE.lb_procs }}
|
||||
{%- else %}
|
||||
{%- if NODE.pins %}
|
||||
lb_procs={{ NODE.pins | length }}
|
||||
{%- else %}
|
||||
lb_procs={{ NODE.lb_procs }}
|
||||
{%- endif %}
|
||||
{%- if NODE.pins %}
|
||||
pin_cpus={{ NODE.pins | join(", ") }}
|
||||
|
||||
@@ -6,30 +6,36 @@ zeek:
|
||||
config:
|
||||
local:
|
||||
load:
|
||||
description: List of Zeek policies to load
|
||||
description: Contains a list of policies and scripts loaded by Zeek. Values in the Current Grid Value dialog box apply to every instance of Zeek. Values in a dialog box for a specific node will only apply to that node.
|
||||
forcedType: "[]string"
|
||||
helpLink: zeek.html
|
||||
load-sigs:
|
||||
description: List of Zeek signatures to load
|
||||
description: Contains a list of signatures loaded by Zeek. Values placed in the Current Grid Value dialog box apply to every instance of Zeek. Values placed in a dialog box for a specific node will only apply to that node.
|
||||
forcedType: "[]string"
|
||||
helpLink: zeek.html
|
||||
redef:
|
||||
description: List of Zeek variables to redefine
|
||||
description: List of Zeek variables to redefine. Values placed in the Current Grid Value dialog box apply to every instance of Zeek. Values placed in a dialog box for a specific node will only apply to that node.
|
||||
forcedType: "[]string"
|
||||
advanced: True
|
||||
helpLink: zeek.html
|
||||
node:
|
||||
lb_procs:
|
||||
description: This is the number of CPUs to use for Zeek. This setting is ignored if you are using pins.
|
||||
description: Contains the number of CPU cores or workers used by Zeek. This setting should only be applied to individual nodes and will be ignored if CPU affinity is enabled.
|
||||
title: workers
|
||||
helpLink: zeek.html
|
||||
node: True
|
||||
pins_enabled:
|
||||
description: Enabling this setting allows you to pin Zeek to specific CPUs.
|
||||
title: cpu affinity enabled
|
||||
forcedType: bool
|
||||
helpLink: zeek.html
|
||||
node: True
|
||||
advanced: True
|
||||
pins:
|
||||
description: This is a list of CPUs you want to pin Zeek to.
|
||||
description: Contains a list of specific CPU cores pinned to Zeek workers. To set the CPU affinity, enter the processor ID number in the dialog box for the desired node. To retrieve the processor ID numbers, run the command "cat /proc/cpuinfo | grep processor" on the desired node. Please note that this setting should only be applied to individual nodes.
|
||||
title: cpu affinity
|
||||
multiline: True
|
||||
forcedType: "[]string"
|
||||
helpLink: zeek.html
|
||||
node: True
|
||||
advanced: True
|
||||
@@ -47,5 +53,5 @@ zeek:
|
||||
global: True
|
||||
advanced: True
|
||||
file_extraction:
|
||||
description: This is a list of MIME types that Zeek will extract from the network streams.
|
||||
description: Contains a list of file or MIME types Zeek will extract from the network streams. Values must adhere to the following format - {"MIME_TYPE":"FILE_EXTENTION"}
|
||||
helpLink: zeek.html
|
||||
|
||||
@@ -917,14 +917,16 @@ create_repo() {
|
||||
logCmd "createrepo /nsm/repo"
|
||||
}
|
||||
|
||||
|
||||
detect_cloud() {
|
||||
info "Testing if setup is running on a cloud instance..."
|
||||
if ( curl --fail -s -m 5 http://169.254.169.254/latest/meta-data/instance-id > /dev/null ) || \
|
||||
( curl --fail -s -m 5 -H "X-aws-ec2-metadata-token: $(curl -s -X PUT -m 5 'http://169.254.169.254/latest/api/token' -H 'X-aws-ec2-metadata-token-ttl-seconds: 30')" http://169.254.169.254/latest/meta-data/instance-id > /dev/null) || \
|
||||
(dmidecode -s bios-vendor | grep -q Google > /dev/null) || \
|
||||
if dmidecode -s bios-version | grep -q amazon || \
|
||||
dmidecode -s bios-vendor | grep -q Amazon || \
|
||||
dmidecode -s bios-vendor | grep -q Google || \
|
||||
[ -f /var/log/waagent.log ]; then
|
||||
|
||||
info "Detected a cloud installation..." && export is_cloud="true";
|
||||
info "Detected a cloud installation..."
|
||||
export is_cloud="true"
|
||||
else
|
||||
info "This does not appear to be a cloud installation."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user