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

Malcolm v24.02.0 #297

Merged
merged 210 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
b5e9100
Clarify Malcolm license as Apache v2.0
mmguero Jul 6, 2023
4254566
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Jul 18, 2023
74ac6c2
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Jul 18, 2023
53aabd4
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Jul 18, 2023
a40685c
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Jul 19, 2023
924431d
Merge pull request #224 from idaholab/v23.07.0_merge_idaholab
mmguero Jul 19, 2023
72b2a89
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm
mmguero Jul 20, 2023
1e748c8
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm
mmguero Jul 20, 2023
8209597
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Aug 14, 2023
f220070
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Aug 14, 2023
d049cf3
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Aug 14, 2023
c59efbd
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Aug 14, 2023
a5678f7
Merge pull request #238 from idaholab/v23.08.0_merge_idaholab
mmguero Aug 15, 2023
87993b4
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Aug 16, 2023
2175872
Merge pull request #240 from idaholab/v23.08.1_merge_idaholab
mmguero Aug 16, 2023
e20cc45
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm
mmguero Aug 16, 2023
2060cf2
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Sep 15, 2023
0eb9d02
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Sep 15, 2023
d9204a0
Merge pull request #264 from idaholab/v23.09.0_merge_idaholab
mmguero Sep 15, 2023
2d07ea0
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Oct 25, 2023
6eb2a19
Merge pull request #278 from idaholab/v23.10.0_merge_idaholab
mmguero Oct 26, 2023
3c77095
Fix container image reference version in kubernetes manifests
mmguero Oct 26, 2023
73f95a7
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Dec 4, 2023
64cba5e
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Dec 4, 2023
5848a05
Merge pull request #307 from idaholab/v23.12.0_merge_idaholab
mmguero Dec 5, 2023
c549f13
ILM policy intro
piercema Dec 8, 2023
ad82892
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Dec 20, 2023
cef8f9d
Merge pull request #315 from idaholab/v23.12.1_merge_idaholab
mmguero Dec 20, 2023
c7d9238
Clarify variable names
piercema Jan 10, 2024
4b63254
Merge branch 'ILM_policy' into main
piercema Jan 10, 2024
bfc17d0
Merge pull request #1 from piercema/main
piercema Jan 10, 2024
d7bf3a2
Add ILM Policy to initarkime.sh
piercema Jan 12, 2024
2918b58
Adds initial support for building Hedgehog RPI images
aut0exec Jan 13, 2024
1f2f8db
Update issue templates
mmguero Jan 15, 2024
3f8ee2f
assign issues to projects
mmguero Jan 15, 2024
ba3b8b4
documentation
mmguero Jan 15, 2024
56cd8e4
added action for categorizing issues with project
mmguero Jan 15, 2024
6c1f51d
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Jan 17, 2024
c78a043
Merge pull request #383 from idaholab/v24.01.0_merge_idaholab
mmguero Jan 17, 2024
8cac903
fix documentation with bad URL in it
mmguero Jan 17, 2024
fddb6f1
bump version for v24.02.0 development
mmguero Jan 17, 2024
b6a3511
bump jinja2 from v3.1.2 to v3.1.3 (dependabot alert: Jinja vulnerable…
mmguero Jan 17, 2024
7d54b0d
bump beats and logstash to v8.12.0
mmguero Jan 17, 2024
602d00f
Add hotwarm ILM option
piercema Jan 17, 2024
be99365
Merge branch 'Raspberry_Pi_Sensor_Builds' of https://github.com/cisag…
mmguero Jan 17, 2024
a54d092
minor tweaks
mmguero Jan 17, 2024
056dd73
use fakemachine from path
mmguero Jan 17, 2024
d5f2a07
fix build issue
mmguero Jan 18, 2024
46fc59a
add .gz to gitignore
mmguero Jan 18, 2024
8de7dae
Merge pull request #2 from piercema/ILM_policy
piercema Jan 18, 2024
4c78fc7
build tweaks
mmguero Jan 18, 2024
237b861
build tweaks
mmguero Jan 18, 2024
4991221
on the sensor side we really don't need the arkime patches, they're m…
mmguero Jan 18, 2024
1a35109
Revert "on the sensor side we really don't need the arkime patches, t…
mmguero Jan 18, 2024
6576fbf
make sure parent malcolm directory is mounted by fakemachine
mmguero Jan 18, 2024
dd70633
playing with wrapping img in an image
mmguero Jan 18, 2024
eac8cc2
trigger build?
mmguero Jan 18, 2024
5927602
trigger build?
mmguero Jan 18, 2024
50dce48
don't do aide stuff in arm
mmguero Jan 18, 2024
9798434
trigger build
mmguero Jan 18, 2024
d522b00
build on ghcr.io
mmguero Jan 18, 2024
dc663b7
working on build issues
mmguero Jan 18, 2024
3ea50ca
arkime/etc doesn't have anything that needs to be copied over
mmguero Jan 18, 2024
446ce1f
don't trigger raspi build automatically as it times out
mmguero Jan 19, 2024
25a3129
Revert "arkime/etc doesn't have anything that needs to be copied over"
mmguero Jan 19, 2024
e190d66
minor build tweaks
mmguero Jan 19, 2024
960a78d
bump elasticsearch-py and elasticsearch-dsl-py
mmguero Jan 19, 2024
5b76306
work in progress on rpi
mmguero Jan 19, 2024
3f307ea
minor build tweaks
mmguero Jan 19, 2024
eaf074f
work in progress on rpi
mmguero Jan 19, 2024
44f780e
work in progress on rpi
mmguero Jan 19, 2024
4f73729
work in progress on rpi
mmguero Jan 19, 2024
2fdad17
work in progress on rpi
mmguero Jan 19, 2024
5b1ae98
work in progress on rpi
mmguero Jan 19, 2024
f1ff017
build fixes
mmguero Jan 19, 2024
8882578
work in progress on rpi
mmguero Jan 19, 2024
5c9661a
added .xz build
mmguero Jan 22, 2024
1fd662a
get Debs for zeek rather than build from source (broken now, should b…
mmguero Jan 22, 2024
75e50c3
tweaks for raspi hedgehog
mmguero Jan 22, 2024
5f260e9
tweaks for raspi hedgehog
mmguero Jan 22, 2024
3844d0b
ask for URL for htpdate
mmguero Jan 22, 2024
834ed69
tweaks for raspi hedgehog
mmguero Jan 22, 2024
d303a58
setcap SYS_ADMIN for netsniff-ng to set I/O priority
mmguero Jan 22, 2024
4885b7c
documentation for hedgehog linux
mmguero Jan 22, 2024
30a18a0
adjust zeek build
mmguero Jan 23, 2024
555055b
if we're using the debs for Zeek (instead of compiling from source), …
mmguero Jan 23, 2024
ab2bca2
get firefox from official mozilla repos
mmguero Jan 23, 2024
6f7aaea
fix build
mmguero Jan 24, 2024
6afa5ba
leave tmux intact
mmguero Jan 24, 2024
47a2fb8
hold htpdate
mmguero Jan 24, 2024
4fa5863
Adjust dockerignore and .gitignore
mmguero Jan 24, 2024
3e597bc
Fix detail consistency issues
piercema Jan 24, 2024
daff03f
api tweak
mmguero Jan 24, 2024
627c6fd
work in progress for idaholab/Malcolm#386, include missing aggregatio…
mmguero Jan 24, 2024
4cdf138
work in progress for idaholab/Malcolm#386, include missing aggregatio…
mmguero Jan 25, 2024
395eba3
Build tweaks
mmguero Jan 25, 2024
9cf1749
Ensures sd-card is repartitioned on first boot and fixes minor consol…
aut0exec Jan 26, 2024
a78de8e
Merge branch 'Raspberry_Pi_Sensor_Builds' of https://github.com/cisag…
mmguero Jan 26, 2024
8381732
Added psmisc
mmguero Jan 26, 2024
523c2c6
set image size to 16GB
mmguero Jan 26, 2024
a6259fe
added dnsutils
mmguero Jan 29, 2024
9b698b7
for idaholab/Malcolm#387, beginning to improve .env checking
mmguero Jan 29, 2024
51737d7
for idaholab/Malcolm#387, add default variables from the .env.example…
mmguero Jan 29, 2024
8810064
for idaholab/Malcolm#388, incorporate DDDC netbox plugin (broken, wil…
mmguero Jan 29, 2024
b4c1d3a
Revert "for idaholab/Malcolm#388, incorporate DDDC netbox plugin (bro…
mmguero Jan 29, 2024
7e6bd9b
update raspberry pi docs
mmguero Jan 29, 2024
71ca285
documentation
mmguero Jan 29, 2024
3238f37
documentation
mmguero Jan 29, 2024
df02c52
documentation
mmguero Jan 29, 2024
add99e2
for idaholab/Malcolm#250, make sure the correct hostname ends up in /…
mmguero Jan 29, 2024
8ab5e02
set TERM=linux in all /etc/environment
mmguero Jan 29, 2024
e5f6cf5
Generic field names
piercema Jan 30, 2024
620a3cd
Added container name so netbox restore script would work with Malcolm…
supcom234 Jan 31, 2024
0eee607
Added container name so netbox restore script would work with Malcolm…
mmguero Jan 31, 2024
72e3e74
add container name for netbox backup
mmguero Jan 31, 2024
eb15a17
fix idaholab/Malcolm#335, pivot links from Arkime to Kibana in extern…
mmguero Jan 31, 2024
1a63bff
add option for customizing which log types get NetBox enrichment, ida…
mmguero Jan 31, 2024
5ed79b6
bump capa to v7.0.0 (https://github.com/mandiant/capa/releases/tag/v7…
mmguero Feb 1, 2024
335e534
tweak nginx client buffer sizes
mmguero Feb 1, 2024
2dcd720
added documentation for reporting, and reference idaholab/Malcolm#249
mmguero Feb 1, 2024
3b2bd53
fixed arkime image
mmguero Feb 1, 2024
2b9abe0
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 1, 2024
5ee1bc7
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 1, 2024
d7c75f4
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 1, 2024
d46acbd
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 1, 2024
0b51a04
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 2, 2024
1916158
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 2, 2024
8fa95a8
capa to v7.0.1 (https://github.com/mandiant/capa/releases/tag/v7.0.1)
mmguero Feb 2, 2024
3454c0e
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 2, 2024
40c598a
added gitignore
mmguero Feb 2, 2024
37acad1
Added png to directory listing for chmod
mmguero Feb 2, 2024
b1a9aa9
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 2, 2024
566ed69
Added png to directory listing for chmod
mmguero Feb 2, 2024
86eb52b
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 2, 2024
6821248
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 2, 2024
a3bb3e0
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 2, 2024
3889eb6
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 2, 2024
9a5ef36
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 2, 2024
2499b50
Use regex to check valid values
piercema Feb 2, 2024
e1d027e
Add ISM to end user display
piercema Feb 3, 2024
f2e47f1
update device roles
mmguero Feb 5, 2024
27185b4
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 5, 2024
51df7de
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 5, 2024
9aeafdb
fix bug idaholab/Malcolm#401, source.ip and destination.ip not set fo…
mmguero Feb 5, 2024
ed6cd76
work in progress for idaholab/Malcolm#329, improve extracted_files do…
mmguero Feb 5, 2024
c6ead7e
work in progress for idaholab/Malcolm#329, improve documentation for …
mmguero Feb 5, 2024
dfa6409
fix bug idaholab/Malcolm#402, event.severity_tags is not being assign…
mmguero Feb 5, 2024
d5f5350
a few tweaks for documentation of system requirements
mmguero Feb 6, 2024
8e86713
bump beats and logstash to v8.12.1
mmguero Feb 6, 2024
b7de771
work in progress for idaholab/Malcolm#395, malcolm reporting capture …
mmguero Feb 6, 2024
50fb5c9
work in progress for idaholab/Malcolm#395, malcolm reporting capture …
mmguero Feb 6, 2024
7669c6c
work in progress for idaholab/Malcolm#395, malcolm reporting capture …
mmguero Feb 6, 2024
1ea5296
work in progress for idaholab/Malcolm#395, malcolm reporting capture …
mmguero Feb 6, 2024
e5f39f2
work in progress for idaholab/Malcolm#395, added ZEEK_DISABLE_STATS e…
mmguero Feb 6, 2024
8537087
bump arkime to v5.0.0 (https://github.com/arkime/arkime/blob/v5.0.0/C…
mmguero Feb 7, 2024
65e3c2a
work in progress for idaholab/Malcolm#395, malcolm reporting capture …
mmguero Feb 7, 2024
2b0c42e
work in progress for idaholab/Malcolm#395, malcolm reporting capture …
mmguero Feb 7, 2024
6f1c260
work in progress for idaholab/Malcolm#395, malcolm reporting capture …
mmguero Feb 7, 2024
d74deff
work in progress for idaholab/Malcolm#395, malcolm reporting capture …
mmguero Feb 7, 2024
8a5d14a
work in progress for idaholab/Malcolm#395, malcolm reporting capture …
mmguero Feb 7, 2024
3fd70c3
work in progress for idaholab/Malcolm#395, malcolm reporting capture …
mmguero Feb 7, 2024
f7cf89f
remove arkime patches
mmguero Feb 7, 2024
88a90fd
work in progress for idaholab/Malcolm#395, malcolm reporting capture …
mmguero Feb 7, 2024
2dea34c
fix issue with v5.0.0 fields not lining up in sessions view in arkime
mmguero Feb 7, 2024
5b474fa
fix collapsing session type
mmguero Feb 7, 2024
2952f43
fix collapsing session type
mmguero Feb 7, 2024
dfc5d4d
renamed docker-compose.yml to docker-compose-dev.yml and docker-compo…
mmguero Feb 8, 2024
8eec996
fix build.sh
mmguero Feb 8, 2024
0517c2d
don't trigger raspi build on github
mmguero Feb 8, 2024
325b4ba
adjustments to Malcolm's Zeek instance for cisagov/icsnpp-synchrophas…
mmguero Feb 8, 2024
1aa4137
disable GENISYS parser by default
mmguero Feb 8, 2024
cd1cd69
idaholab/Malcolm#403, redirect /dashboards/ link to Kibana in NGINX p…
mmguero Feb 8, 2024
78cfa6b
add trailing slash to link for dashboards
mmguero Feb 8, 2024
e78abed
Added re2c as arkime dep
mmguero Feb 8, 2024
cfc6ac0
added some screenshots
mmguero Feb 12, 2024
164527f
enforce username and password requirements in auth_setup (idaholab/Ma…
mmguero Feb 12, 2024
fdad6b9
Document ILM/ISM policies
piercema Feb 12, 2024
f473fb1
Merge branch 'main' of https://github.com/piercema/Malcolm into devel…
mmguero Feb 12, 2024
067c129
minor documentation wording tweaks for idaholab/Malcolm#300
mmguero Feb 12, 2024
594cdd8
work in progress for idaholab/Malcolm#393, fuzzy matching for manufac…
mmguero Feb 12, 2024
ad40304
work in progress for idaholab/Malcolm#393, fuzzy matching for manufac…
mmguero Feb 12, 2024
8a44e66
work in progress for idaholab/Malcolm#393, fuzzy matching for manufac…
mmguero Feb 12, 2024
49a04c0
work in progress for idaholab/Malcolm#393, fuzzy matching for manufac…
mmguero Feb 12, 2024
fda28f5
bump yara to v4.4.0
mmguero Feb 13, 2024
c08623e
work in progress for idaholab/Malcolm#393, fuzzy matching for manufac…
mmguero Feb 13, 2024
d251286
work in progress for idaholab/Malcolm#393, fuzzy matching for manufac…
mmguero Feb 13, 2024
806a99f
link to dashboards/arkime from netbox devices view idaholat/Malcolm#410
mmguero Feb 13, 2024
2e72c0d
link to dashboards/arkime from netbox devices view idaholab/Malcolm#410
mmguero Feb 13, 2024
ca12129
link to dashboards/arkime from netbox devices view idaholab/Malcolm#410
mmguero Feb 13, 2024
ef35f07
work in progress for idaholab/Malcolm#393, fuzzy matching for manufac…
mmguero Feb 13, 2024
558ae6a
work in progress for idaholab/Malcolm#393, fuzzy matching for manufac…
mmguero Feb 13, 2024
bf28414
work in progress for idaholab/Malcolm#393, fuzzy matching for manufac…
mmguero Feb 13, 2024
0ec117d
link to dashboards/arkime from device roles view idaholab/Malcolm#410
mmguero Feb 13, 2024
a6beeba
fix favico for upload
mmguero Feb 13, 2024
eb8fa05
set NETBOX_DEFAULT_AUTOCREATE_MANUFACTURER=true for default
mmguero Feb 13, 2024
9d546ca
tweaks to sensor-raspi build
mmguero Feb 14, 2024
0702067
fix missing croc in sensor build
mmguero Feb 14, 2024
a99e5c3
change landing page for ISO icon
mmguero Feb 14, 2024
0e46211
set default compression type for hedgehog to zstd
mmguero Feb 14, 2024
9a78bd5
restore kubernetes images to the official ones for release
mmguero Feb 14, 2024
b67b1f1
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Feb 14, 2024
d0b81d3
restore links for cisagov/Malcolm release
mmguero Feb 14, 2024
06ce707
bump yara to v4.5.0
mmguero Feb 14, 2024
4f87d5f
restore image publisher name
mmguero Feb 14, 2024
7e40416
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Feb 14, 2024
b28d703
fix typo
mmguero Feb 14, 2024
5fb3023
fix hanging raspi build
mmguero Feb 15, 2024
e3c83d2
workaround for hanging build
mmguero Feb 15, 2024
9b227b4
adjust creation of NOTICE.txt for arkime
mmguero Feb 15, 2024
80b7f16
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
mmguero Feb 15, 2024
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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ arkime-raw
kubernetes
malcolm-iso
sensor-iso
sensor-raspi
nginx/nginx_ldap*.conf
pcap
_site
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/arkime-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/codeql.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/dashboards-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dirinit-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/file-monitor-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/file-upload-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/filebeat-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/freq-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/htadmin-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/logstash-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/malcolm-iso-build-docker-wrap-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Build image
run: |
IMAGES=( $(grep image: docker-compose.yml | awk '{print $2}' | sort -u) )
IMAGES=( $(grep image: docker-compose-dev.yml | awk '{print $2}' | sort -u) )
for IMAGE in "${IMAGES[@]}"; do
REPO_IMAGE="$(echo "$IMAGE" | sed "s@^.*\(malcolm\)@ghcr.io/${{ github.repository_owner }}/\1@" | sed "s/:.*/:${{ steps.extract_branch.outputs.branch }}/")"
docker pull "$REPO_IMAGE" && \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/netbox-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nginx-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/opensearch-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pcap-capture-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pcap-monitor-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postgresql-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/redis-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Build image
Expand Down
102 changes: 102 additions & 0 deletions .github/workflows/sensor-raspi-build-docker-wrap-push-ghcr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: sensor-raspi-build-docker-wrap-push-ghcr

on:
# push:
# branches:
# - main
# - development
# paths:
# - '.trigger_raspi_workflow_build'
workflow_dispatch:
# repository_dispatch:

jobs:
build:
runs-on: ubuntu-22.04
permissions:
actions: write
packages: write
contents: read
security-events: write
defaults:
run:
shell: bash
steps:
-
name: Cancel previous run in progress
uses: styfle/[email protected]
with:
ignore_sha: true
all_but_latest: true
access_token: ${{ secrets.GITHUB_TOKEN }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: |
image=moby/buildkit:master
-
name: Build environment setup
run: |
sudo apt-get -q update
sudo env DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y -q \
binfmt-support \
bmap-tools \
ca-certificates \
debootstrap \
dosfstools \
kpartx \
python3 \
qemu-user-static \
qemu-utils \
time \
vmdb2 \
zerofree
-
name: Checkout
uses: actions/checkout@v4
-
name: Extract branch name
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
id: extract_branch
-
name: Extract commit SHA
shell: bash
run: echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
id: extract_commit_sha
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Build image
run: |
pushd ./sensor-raspi
mkdir -p ./shared
echo "${{ steps.extract_malcolm_version.outputs.mversion }}" > ./shared/version.txt
echo "${{ secrets.MAXMIND_GEOIP_DB_LICENSE_KEY }}" > ./shared/maxmind_license.txt
echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" > ./shared/environment.chroot
echo "VCS_REVSION=${{ steps.extract_commit_sha.outputs.sha }}" > ./shared/environment.chroot
echo "BUILD_JOBS=2" > ./shared/environment.chroot
sudo make raspi_4_bookworm.img
sudo chmod 644 ./raspi_4_bookworm*.*
popd
-
name: ghcr.io login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push IMG image
uses: docker/build-push-action@v5
with:
context: ./sensor-raspi
push: true
tags: ghcr.io/${{ github.repository_owner }}/malcolm/hedgehog-raspi:${{ steps.extract_branch.outputs.branch }}
2 changes: 1 addition & 1 deletion .github/workflows/suricata-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zeek-build-and-push-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
-
name: Extract Malcolm version
shell: bash
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
run: echo "mversion=$(grep -P "^\s+image:.*/malcolm/" docker-compose-dev.yml | awk '{print $2}' | cut -d':' -f2 | uniq -c | sort -nr | awk '{print $2}' | head -n 1)" >> $GITHUB_OUTPUT
id: extract_malcolm_version
-
name: Set up QEMU
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ config.*/
.envrc
.direnv
.vagrant
.fuse_*
malcolm_*images.tar.gz
malcolm_*images.tar.xz
malcolm_netbox_backup_*.gz
*.iso
*.img
*-build.log
Gemfile.lock
_site
Expand Down
2 changes: 1 addition & 1 deletion .trigger_iso_workflow_build
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# this file exists solely for the purpose of being updated and seen by github to trigger a commit build action
2
3
Loading