Skip to content

Commit

Permalink
Merge pull request #495 from Security-Onion-Solutions/fix/remove_malt…
Browse files Browse the repository at this point in the history
…iverse

Remove Maltiverse and Don't Remove Snort Integration
  • Loading branch information
weslambert authored Dec 13, 2023
2 parents fb5ea7f + 01ef143 commit 064b6bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion so-elastic-fleet-package-registry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN chmod +x /scripts/supported-integrations.sh && bash /scripts/supported-integ
# Cleanup unneeded packages, keeping the two most recent versons of each one
# Except for endpoint packages, keep all versions
RUN cd /packages/package-storage/ \
&& rm -rf suricata-* zeek-* snort-* dga-* endpoint*dev* endpoint*next* *preview* *beta* \
&& rm -rf suricata-* zeek-* dga-* endpoint*dev* endpoint*next* *preview* *beta* \
&& cd /packages/package-storage/ && LIST=$(ls --ignore="endpoint-*" | awk -F'[-]' '{print $1}' | sort | uniq ) \
&& for item in $LIST; do ls $item-*.zip | cut -d '-' -f 2 | tr - \~ | sort -V | tr \~ - | head -n-2 | xargs -I {} echo "$item-"{} | xargs -r rm -fr; done

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ tenable_sc-
ti_abusech-
ti_anomali-
ti_cybersixgill-
ti_maltiverse-
ti_misp-
ti_otx-
ti_recordedfuture-
Expand Down

0 comments on commit 064b6bc

Please sign in to comment.