Environment Test and Claude Sonnet 4.6
c572e426f0
fix(sshd): replace block/rescue with register+conditional to fix missing diagnostics
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-11 09:14:13 +02:00
Environment Test and Claude Sonnet 4.6
6ba6333748
fix(test): whitelist ansible-provided vars in variable definitions test
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-11 07:47:29 +02:00
kevinveenbirkenbach
f45e0b001e
fix(codeql): resolve remaining python alerts
2026-03-21 11:06:59 +01:00
kevinveenbirkenbach
932e97b1c9
Whitelisted ansible variables
2026-02-20 17:15:45 +01:00
kevinveenbirkenbach
84782f3b22
refactor(invokable): centralize app discovery, add type grouping, and derive deploy stages from inventory groups
...
https://chatgpt.com/share/698b0039-c4c4-800f-b962-7033324c07a8
2026-02-10 10:53:53 +01:00
kevinveenbirkenbach
244e56fed9
Optimized ruff
2025-12-30 19:33:00 +01:00
kevinveenbirkenbach
1a81ac69f3
Ignored diff ansible_service_mgr in tests -> Official ansible variable
2025-12-30 19:17:59 +01:00
kevinveenbirkenbach
7c0c1321d5
Fix Hadolint code scanning identity and apply formatting cleanups
...
https://chatgpt.com/share/694420ac-5d70-800f-94b8-71549893936e
2025-12-18 16:41:25 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
f904b20f63
Potential fix for code scanning alert no. 76: Empty except
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 16:23:42 +01:00
kevinveenbirkenbach
f7809c266e
Optimized ruff
2025-12-18 14:33:54 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
b8de616d4d
Potential fix for code scanning alert no. 77: Empty except
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 14:11:43 +01:00
kevinveenbirkenbach
7123841fb4
style: apply ruff autoformat
2025-12-17 16:37:21 +01:00
kevinveenbirkenbach
e6d6cb639c
Fix variable definition test: ignore boolean keywords (not/and/or) and detect bare vars in YAML list expressions. See ChatGPT conversation: https://chatgpt.com/share/692c693b-9958-800f-a815-6c15ca045108
2025-11-30 16:57:07 +01:00
kevinveenbirkenbach
6857295969
Fix variable definition test to recognize block-style Jinja 'set ... endset' statements
...
This update extends the regex to detect block-style variable definitions such as:
{% set var %} ... {% endset %}
Previously, only inline 'set var =' syntax was recognized, causing false positives
like '_snippet' being flagged as undefined in Jinja templates.
Reference: https://chatgpt.com/share/68f6799a-eb80-800f-ab5c-7c196d4c4661
2025-10-20 20:04:40 +02:00
kevinveenbirkenbach
c6677ca61b
tests: ignore Jinja variables inside raw blocks in variable definitions check
...
- Added regex masking to skip {{ var }} usages inside {% raw %}…{% endraw %} blocks.
- Simplified code by removing redundant comments.
- Cleaned up task file for XWiki role by removing outdated note.
Ref: https://chatgpt.com/share/68cd2558-e92c-800f-a80a-a79d3c81476e
2025-09-19 11:42:01 +02:00
kevinveenbirkenbach
231fd567b3
feat(frontend): rename inj roles to sys-front-*, add sys-svc-cdn, cache-busting lookup
...
Introduce sys-svc-cdn (cdn_paths/cdn_urls/cdn_dirs) and ensure CDN directories + latest symlink.
Rename sys-srv-web-inj-* → sys-front-inj-*; update includes/templates; serve shared/per-app CSS & JS via CDN.
Add lookup_plugins/local_mtime_qs.py for mtime-based cache busting; split CSS into default.css/bootstrap.css + optional per-app style.css.
CSP: use style-src-elem; drop unsafe-inline for styles. Services: fix SYS_SERVICE_ALL_ENABLED bool and controlled flush.
BREAKING CHANGE: role names changed; replace includes and references accordingly.
Conversation: https://chatgpt.com/share/68b55494-9ec4-800f-b559-44707029141d
2025-09-01 10:10:23 +02:00
kevinveenbirkenbach
dc0bb555c1
Added another group_names validation
2025-08-18 21:37:07 +02:00
kevinveenbirkenbach
2569abc0be
Refactor systemctl services and timers
...
- Unified service templates into generic systemctl templates
- Introduced reusable filter plugins for script path handling
- Updated path variables and service/timer definitions
- Migrated roles (backup, cleanup, repair, etc.) to use systemctl role
- Added sys-daemon role for core systemd cleanup
- Simplified timer handling via sys-timer role
Note: This is a large refactor and some errors may still exist. Further testing and adjustments will be needed.
2025-08-18 21:22:16 +02:00
kevinveenbirkenbach
1126765da2
Fix variable definition test to detect set_fact and ansible.builtin.set_fact (both block and inline forms)
...
- Support fully qualified ansible.builtin.set_fact
- Parse inline set_fact mappings (e.g. set_fact: { a: 1, b: 2 })
- Continue scanning inside vars/set_fact blocks for Jinja {% set %}, {% for %}, and {% macro %}
- Ensures variables defined by set_fact are correctly recognized as defined
2025-08-16 23:51:27 +02:00
kevinveenbirkenbach
3b4821f7e7
Solved missing logout injection bug and refactored srv-web-7-7-inj-compose
2025-08-15 23:55:19 +02:00
kevinveenbirkenbach
3fed9eb75a
Ignore ansible_memtotal_mb
2025-07-15 21:40:32 +02:00
kevinveenbirkenbach
2e2501980c
Added recognition of option_kv
2025-07-15 18:19:48 +02:00
kevinveenbirkenbach
a6afbaff38
Implemented vars files scanning on n levels
2025-07-15 18:13:33 +02:00
kevinveenbirkenbach
733356b4f7
Added pattern for register: variables
2025-07-15 17:04:36 +02:00
kevinveenbirkenbach
21b4fdee47
Added pattern to whitelist set- for-
2025-07-15 16:57:39 +02:00
kevinveenbirkenbach
c99def5724
Optimized variable definition tester
2025-07-15 14:31:03 +02:00
kevinveenbirkenbach
d5c14ad53c
Added varaible defintion test draft
2025-07-15 13:54:10 +02:00