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

Add POC engine UX #6803

Merged
merged 40 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c6e4ea0
Added engine plugin with a first nav menu and a simple react router s…
JuanGarriuz Jun 27, 2024
9afcc49
Added simple styles
JuanGarriuz Jun 28, 2024
a283592
Mocked imposter
JuanGarriuz Jul 3, 2024
82082a8
added kvdb
JuanGarriuz Jul 8, 2024
8e756f2
feat(rules): create Rules section on Engine app
Desvelao Jul 9, 2024
b032857
Merge branch 'enhancement/wd-216-poc-engine' of https://github.com/wa…
Desvelao Jul 9, 2024
f8891e7
feat(script): sample data generator for rules dataset
Desvelao Jul 9, 2024
85717de
feat(engine): switch order menu and replace placeholders on views
Desvelao Jul 9, 2024
715587f
feat(engine): use wazuh-asset specification to manage the creation or…
Desvelao Jul 9, 2024
043371b
fix: useForm for arrayOf type
Desvelao Jul 11, 2024
2f09e04
Add routing, db creation, actions buttons are replaced and imposter r…
JuanGarriuz Jul 11, 2024
0cf956b
feat(engine): enhance and fix rule asset components
Desvelao Jul 11, 2024
b8f900c
Merge branch 'enhancement/wd-216-poc-engine' of https://github.com/wa…
Desvelao Jul 11, 2024
5bf2ebf
Create database feat updated
JuanGarriuz Jul 12, 2024
d5198f7
feat(engine): refactor form based on group of inputs
Desvelao Jul 12, 2024
d154a6b
Merge branch 'enhancement/wd-216-poc-engine' of https://github.com/wa…
Desvelao Jul 12, 2024
f5804a2
remove(engine): unused script files related to rules sample data
Desvelao Jul 12, 2024
4f128c2
feat(engine): enhance sample data rule dataset
Desvelao Jul 12, 2024
cb18fec
feat(engine): add filters and outputs sample data datasets
Desvelao Jul 12, 2024
64af597
feat(engine): add view of outputs asset
Desvelao Jul 12, 2024
f4830b3
feat(engine): enhance the sample data injector script documentation
Desvelao Jul 12, 2024
f94fdf9
Decoders
JuanGarriuz Jul 16, 2024
6e0efe7
feat: add ability to remove field form arrayOf form field
Desvelao Jul 24, 2024
fce7b77
feat(engine): enhance components
Desvelao Jul 24, 2024
9acfaa7
feat(sample-data): add dataset of integrations
Desvelao Jul 25, 2024
ca4033f
feat(engine): add integrations section
Desvelao Jul 25, 2024
4a22a6f
feat(engine): rename form component and minor fixes
Desvelao Jul 25, 2024
4fb0b62
Some routes changed, added interactive path to columns
JuanGarriuz Jul 30, 2024
9ef32ae
fix(form): fix form when using arrayOf
Desvelao Aug 6, 2024
23edfec
feat(engine): enhance rule form
Desvelao Aug 6, 2024
d770227
fix(form): remove console.log on hook
Desvelao Aug 6, 2024
b122df8
Changes on decoders
JuanGarriuz Aug 7, 2024
2f07829
Added somes styles to flyouts
JuanGarriuz Aug 7, 2024
279330f
Directories changes and policies first steps
JuanGarriuz Aug 7, 2024
6584357
feat(engine): enhance form
Desvelao Aug 7, 2024
b5b0af5
Merge branch 'enhancement/wd-216-poc-engine' of https://github.com/wa…
Desvelao Aug 7, 2024
32231aa
Added colums to policies
JuanGarriuz Aug 7, 2024
bcce1ba
Merge branch 'enhancement/wd-216-poc-engine' of https://github.com/wa…
JuanGarriuz Aug 7, 2024
3a5f129
Merge branch 'master' into enhancement/wd-216-poc-engine
asteriscos Aug 23, 2024
419757f
Prettier
asteriscos Aug 23, 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
2 changes: 1 addition & 1 deletion docker/imposter/api-info/api_info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": {
"title": "Wazuh API REST",
"api_version": "4.10.0",
"api_version": "5.0.0",
"revision": 1,
"license_name": "GPL 2.0",
"license_url": "https://github.com/wazuh/wazuh/blob/4.5/LICENSE",
Expand Down
61 changes: 61 additions & 0 deletions docker/imposter/decoders/get_decoders.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"data": {
"affected_items": [
{
"name": "decoder/journald/3",
"parents": [],
"module": "journald-http",
"title": "Journald HTTP Agents error logs decoder",
"description": "Decoder for Journald HTTP Agents error logs.",
"versions": ["2.2.31"],
"compatibility": "The Apache datasets were tested with Apache 2.4.12 and 2.4.46 and are expected to work with all versions >= 2.2.31 and >= 2.4.16 (independent from operating system).",
"author": {
"name": "",
"date": "",
"email": ""
},
"references": []
},
{
"name": "decoder/systemctl/1",
"parents": ["journald"],
"module": "systemctl-http",
"title": "Systemctl Manager error logs decoder",
"description": "Decoder for Systemctl Manager error logs.",
"versions": [],
"compatibility": "The Apache datasets were tested with Apache 2.4.12 and 2.4.46 and are expected to work with all versions >= 2.2.31 and >= 2.4.16 (independent from operating system).",
"author": {
"name": "Wazuh Inc.",
"date": "2021-12-31",
"email": "[email protected]"
},
"references": [
"https://documentation.wazuh.com/current/user-manual/ruleset/ruleset-xml-syntax/decoders.html"
]
},
{
"name": "decoder/apache-access/0",
"parents": ["decoder/apache-common/0", "decoder/journald-apache/0"],
"module": "apache-http",
"title": "Apache HTTP Server error logs decoder",
"description": "Decoder for Apache HTTP Server error logs.",
"versions": ["2.2.31", "2.4.16"],
"compatibility": "The Apache datasets were tested with Apache 2.4.12 and 2.4.46 and are expected to work with all versions >= 2.2.31 and >= 2.4.16 (independent from operating system).",
"author": {
"name": "Wazuh Inc.",
"date": "2023-11-29",
"email": ""
},
"references": [
"https://httpd.apache.org/docs/2.4/logs.html",
"https://httpd.apache.org/docs/2.4/custom-error.html"
]
}
],
"total_affected_items": 3,
"total_failed_items": 0,
"failed_items": []
},
"message": "All selected decoders were returned",
"error": 0
}
25 changes: 25 additions & 0 deletions docker/imposter/lists/get_lists.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"data": {
"affected_items": [
{
"filename": "test1",
"relative_dirname": "mockPath/test/1",
"elements": "8",
"date": "2024-06-03",
"description": "test mock"
},
{
"filename": "test2",
"relative_dirname": "mockPath/test/version2",
"elements": "76",
"date": "2024-06-02",
"description": "test 2 mock"
}
],
"total_affected_items": 2,
"total_failed_items": 0,
"failed_items": []
},
"message": "All specified lists were returned",
"error": 0
}
Loading
Loading