Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge dev to 2.4 #120

Merged
merged 5 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion download.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Download and verify our ISO image as shown at https://github.com/Security-Onion-

.. warning::

If you download our ISO image and then scan it with antivirus software, it is possible that one or more of the files included in the ISO image may generate false positives. If you look at the antivirus scan details, it will most likely tell you that it alerted on a file in ``SecurityOnion\agrules\``.
Antivirus software may alert on the ISO image but any alerts are most likely false positives. If you look at the antivirus scan details, it will most likely tell you that it alerted on a file in ``SecurityOnion\agrules\``. These are rules that look for malicious activity but the rules themselves are not actually malicious.

.. note::

Expand Down
4 changes: 3 additions & 1 deletion first-time-users.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
First Time Users
================

Welcome first time users! You're going to be peeling back the layers of your network in just a few minutes!
Welcome, first time users! You're going to be peeling back the layers of your network in just a few minutes!

First, download our ISO image as shown in the :ref:`download` section.

Expand Down Expand Up @@ -225,3 +225,5 @@ All this in a minimal VM with only 4GB RAM!

.. image:: images/39_grid.png
:target: _images/39_grid.png

If you made it to the end of this First Time Users section, congratulations! If you have any questions or problems, please see the :ref:`help` section. If you like Security Onion, please consider sharing on social media about Security Onion to help spread the word. Thanks!
18 changes: 12 additions & 6 deletions release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,37 @@ Release Notes
Known Issues
~~~~~~~~~~~~

If you had previously updated to version 2.4.100 and had indices with incorrect data like source IP address, then you may need to delete the incorrect indices via the command line as follows.
If you had previously updated to version 2.4.100 and had indices with conflicting data types for fields like source IP address, then you may need to delete affected indices. Field conflicts typically occur when a field is indexed using a different set of mappings than other indices. This can occur if a component template or index template changes and a data stream rolls over to create a new backing index, causing issues with field value aggregation and data tables not being rendered as expected.

Field conflicts can be identified by navigating to ``Kibana -> Management -> Data Views -> logs-*``. They are typically noted via a yellow banner on the data view page, or they can be found by filtering by a field type of ``conflict``. For each affected field, clicking the yellow ``Conflict`` icon in the ``Type`` column will display the conflicting field types and indices.

For example, you may have a conflict for ``source.ip``, where it was previously correctly mapped as field type of ``ip``, but the index mappings were inadvertently changed and ``source.ip`` is now mapped as a field type of ``keyword`` in the ``logs-system.security`` and ``logs-system.syslog`` data streams. The mappings have been fixed, but the data streams need to be rolled over to pick up the correct mappings, and the affected index containing ``source.ip`` mapped as a field type of ``keyword`` needs to be deleted to resolve the conflict.

You can issue the following commands from the CLI to resolve the conflict.

First, become root:

::

sudo -i

Next, roll over each of the affected data streams (replacing ``YOUR-DATASTREAM`` as necessary):
Next, roll over each of the affected data streams:

::

for i in YOUR-DATASTREAM-1 YOUR-DATASTREAM-2; do
for i in logs-system.security logs-system.syslog; do
so-elasticsearch-query $i/_rollover -XPOST
done

Then, delete the previous index for each of the affected data streams (replacing ``YOUR-DATASTREAM`` as necessary):
Then, delete the previous index for each of the affected data streams:

::

for i in YOUR-DATASTREAM-1 YOUR-DATASTREAM-2; do
for i in logs-system.security logs-system.syslog; do
INDEX_TO_DELETE=$(so-elasticsearch-query $i | jq -r 'keys[]' | tail -2 | head -1); so-elasticsearch-query $INDEX_TO_DELETE -XDELETE
done

Finally, check to see that the fields now display as expected.
Finally, check the ``logs-*`` data view to see if the field conflict is now resloved.

2.4.110 Hotfix [20241010] Changes
---------------------------------
Expand Down
Loading