Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
659a410
fix(security): partition correctness, CSV/XSS hardening, SQL rule gating
somethingwithproof Apr 10, 2026
aec176d
fix(security): validate $time input in syslog_partition_create
somethingwithproof Apr 10, 2026
cecafad
fix(security): gate syslog_remove_items SQL-type removal rules
somethingwithproof Apr 10, 2026
0ded008
fix(security): address code review on PR #315
somethingwithproof Apr 10, 2026
d10e910
fix: address remaining PR #315 review findings
somethingwithproof Apr 10, 2026
f8cc609
fix: harden partition drop handling
somethingwithproof Apr 10, 2026
85838a6
fix: validate derived partition boundaries
somethingwithproof Apr 10, 2026
4f2f26d
fix: stop partition pruning after drop failures
somethingwithproof Apr 10, 2026
5fd9320
fix: tighten partition boundary failure checks
somethingwithproof Apr 10, 2026
6a51216
fix(security): refine partition and timestamp boundary handling
somethingwithproof Apr 10, 2026
2146337
refactor: remove SQL rule gating from PR #315
somethingwithproof Apr 10, 2026
56a92f2
refactor: align partition maintenance with dMaxValue fallback
somethingwithproof Apr 10, 2026
8e01aed
test: fix issue254 regression parser
somethingwithproof Apr 10, 2026
d199169
test(e2e): add orb docker playwright syslog coverage
somethingwithproof Apr 11, 2026
2d925c9
fix: normalize syslog entrypoint plugin includes
somethingwithproof Apr 11, 2026
0f33598
test: cover syslog entrypoint include normalization
somethingwithproof Apr 11, 2026
d2371b7
ci: remove unavailable versioned Apache PHP package
somethingwithproof Jul 14, 2026
c64f592
ci: repair the integration workflow
somethingwithproof Aug 17, 2026
ab02edb
Merge remote-tracking branch 'origin/develop' into HEAD
somethingwithproof Aug 17, 2026
2244776
Modernize security follow-up for PHP 8.0
somethingwithproof Aug 17, 2026
762acfa
Merge CI workflow repair from PR #329
somethingwithproof Aug 17, 2026
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
23 changes: 12 additions & 11 deletions .github/workflows/plugin-ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: Cacti/cacti
ref: release/1.2.31
path: cacti

- name: Checkout Syslog Plugin
Expand All @@ -57,7 +58,7 @@ jobs:
- name: Check PHP Syntax (Lint)
run: |
cd cacti/plugins/syslog
if find . -name '*.php' -not -path './vendor/*' -exec php -l {} 2>&1 \; | grep -iv 'no syntax errors detected'; then
if find . -name '*.php' -not -path './vendor/*' -exec php -l {} \; 2>&1 | grep -iv 'no syntax errors detected'; then
echo "Syntax errors found!"
exit 1
fi
Expand Down Expand Up @@ -122,6 +123,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: Cacti/cacti
ref: release/1.2.31
path: cacti

- name: Checkout Syslog Plugin
Expand All @@ -143,7 +145,7 @@ jobs:
run: sudo apt-get update

- name: Install System Dependencies
run: sudo apt-get install -y apache2 snmp snmpd rrdtool fping libapache2-mod-php${{ matrix.php }}
run: sudo apt-get install -y apache2 snmp snmpd rrdtool fping libapache2-mod-php

- name: Start SNMPD Agent and Test
run: |
Expand All @@ -163,16 +165,15 @@ jobs:
echo -e "[client]\nuser = root\npassword = cactiroot\nhost = 127.0.0.1\n" > ~/.my.cnf

- name: Initialize Cacti Database
env:
MYSQL_AUTH_USR: '--defaults-file=~/.my.cnf'
run: |
mysql $MYSQL_AUTH_USR -e 'CREATE DATABASE IF NOT EXISTS cacti;'
mysql $MYSQL_AUTH_USR -e "CREATE USER IF NOT EXISTS 'cactiuser'@'localhost' IDENTIFIED BY 'cactiuser';"
mysql $MYSQL_AUTH_USR -e "GRANT ALL PRIVILEGES ON cacti.* TO 'cactiuser'@'localhost';"
mysql $MYSQL_AUTH_USR -e "GRANT SELECT ON mysql.time_zone_name TO 'cactiuser'@'localhost';"
mysql $MYSQL_AUTH_USR -e "FLUSH PRIVILEGES;"
mysql $MYSQL_AUTH_USR cacti < ${{ github.workspace }}/cacti/cacti.sql
mysql $MYSQL_AUTH_USR -e "INSERT INTO settings (name, value) VALUES ('path_php_binary', '/usr/bin/php')" cacti
MYSQL_AUTH_USR="--defaults-file=$HOME/.my.cnf"
mysql "$MYSQL_AUTH_USR" -e 'CREATE DATABASE IF NOT EXISTS cacti;'
mysql "$MYSQL_AUTH_USR" -e "CREATE USER IF NOT EXISTS 'cactiuser'@'localhost' IDENTIFIED BY 'cactiuser';"
mysql "$MYSQL_AUTH_USR" -e "GRANT ALL PRIVILEGES ON cacti.* TO 'cactiuser'@'localhost';"
mysql "$MYSQL_AUTH_USR" -e "GRANT SELECT ON mysql.time_zone_name TO 'cactiuser'@'localhost';"
mysql "$MYSQL_AUTH_USR" -e "FLUSH PRIVILEGES;"
mysql "$MYSQL_AUTH_USR" cacti < ${{ github.workspace }}/cacti/cacti.sql
mysql "$MYSQL_AUTH_USR" -e "INSERT INTO settings (name, value) VALUES ('path_php_binary', '/usr/bin/php')" cacti

- name: Validate composer files
run: |
Expand Down
Loading
Loading