Skip to content

Commit

Permalink
Merge pull request #2713 from CactuseSecurity/develop
Browse files Browse the repository at this point in the history
Develop to Main - v8.6
  • Loading branch information
tpurschke authored Dec 11, 2024
2 parents f3542e6 + 762d974 commit ce3698c
Show file tree
Hide file tree
Showing 154 changed files with 4,029 additions and 1,342 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"name": "py-normalizeNwData",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/scripts/customizing/modelling/convertNwObjDataExample.py",
"program": "${workspaceFolder}/scripts/customizing/modelling/convertNwObjDataFromGitPlain.py",
"console": "integratedTerminal",
"env": {
"PYTHONPATH": "${PYTHONPATH}:${workspaceRoot}"
Expand Down
27 changes: 27 additions & 0 deletions documentation/certificates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Certificates in FWO

The expected paths for keys and certificates are /etc/apache2/ssl/server.key and /etc/apache2/ssl/server.crt respectivly. If you want to change them, use these names and paths. Make sure server.key has these permissions

```
-rw-r----- 1 root root
```

After the change restart apache2

```
sudo systemctl restart apache2
```

## Change Root Certificate

Copy root cert to

```
/usr/local/share/ca-certificates/
```

and update

```
sudo update-ca-certificates
```
16 changes: 15 additions & 1 deletion documentation/revision-history-develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,18 @@ bugfix release:
- extra parameters in modelling connection

# 8.5.1 - 18.11.2024 DEVELOP
- fixing PDF generation
- reporting - fixing PDF generation on various platforms
- modelling - fixing AR editing: strict prevention of all area mixing

# 8.5.2 - 27.11.2024 DEVELOP
- some check point importer fixes
- 4 new colors
- added Internet object
- added voip one more object

# 8.5.3 - 27.11.2024 DEVELOP
- owner import - make ldap selectable (internal/external)
- small fixes regarding missing config data for two schedulers (daily, app data import)

# 8.5.4 - 04.12.2024 DEVELOP
- external request: introduce wait cycles
22 changes: 22 additions & 0 deletions documentation/revision-history-main.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,3 +435,25 @@ Network Modelling feature update
Fixes
- various small UI fixes
- importer (CP: handle None objects)

# 8.6 - 11.12.2024 MAIN
Features
- Modelling
- Create Application Zones
- Add monitoring for external requests for admins
- Add re-initialization for external requests
- consolidation modelling external requests
- adding optional access requst on behalf of UI user
- adding live update of external task/ticket status
- app server name handling rework (NONAME --> <prefix>_<IP address>)
- owner groups can now also be external LDAP groups

- Reporting
- refining connection report (adding Common service, app role, network area details)
Fixes
- Importer
- adding missing colors in Check Point importer
- new VOIP service object and Internet object

- UI
- SECURITY: updating System.Text.Encodings.Web v4.5.0 --> v8.0.0
2 changes: 1 addition & 1 deletion inventory/group_vars/all.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### general settings
product_version: "8.5.1"
product_version: "8.6"
ansible_user: "{{ lookup('env', 'USER') }}"
ansible_become_method: sudo
ansible_python_interpreter: /usr/bin/python3
Expand Down
49 changes: 41 additions & 8 deletions roles/api/files/replace_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,23 @@
}
],
"insert_permissions": [
{
"role": "middleware-server",
"permission": {
"check": {},
"columns": [
"id",
"object_id",
"changer",
"change_text",
"app_id",
"change_type",
"object_type",
"change_time"
]
},
"comment": ""
},
{
"role": "modeller",
"permission": {
Expand Down Expand Up @@ -892,6 +909,16 @@
},
"comment": ""
},
{
"role": "middleware-server",
"permission": {
"columns": [
"id"
],
"filter": {}
},
"comment": ""
},
{
"role": "modeller",
"permission": {
Expand Down Expand Up @@ -5171,6 +5198,7 @@
"last_processing_response",
"owner_id",
"task_number",
"wait_cycles",
"create_date",
"finish_date"
]
Expand All @@ -5182,17 +5210,18 @@
"permission": {
"check": {},
"columns": [
"id",
"ticket_id",
"create_date",
"ext_query_variables",
"ext_request_content",
"ext_request_state",
"ext_request_type",
"ext_ticket_system",
"finish_date",
"id",
"owner_id",
"task_number",
"create_date",
"finish_date"
"ticket_id",
"wait_cycles"
]
},
"comment": ""
Expand All @@ -5215,6 +5244,7 @@
"last_processing_response",
"owner_id",
"task_number",
"wait_cycles",
"create_date",
"finish_date"
],
Expand All @@ -5238,6 +5268,7 @@
"last_processing_response",
"owner_id",
"task_number",
"wait_cycles",
"create_date",
"finish_date"
],
Expand All @@ -5249,20 +5280,21 @@
"role": "modeller",
"permission": {
"columns": [
"create_date",
"id",
"ticket_id",
"ext_query_variables",
"ext_request_content",
"ext_request_state",
"ext_request_type",
"ext_ticket_id",
"ext_ticket_system",
"finish_date",
"id",
"last_creation_response",
"last_processing_response",
"owner_id",
"task_number",
"ticket_id"
"wait_cycles",
"create_date",
"finish_date"
],
"filter": {}
},
Expand All @@ -5286,6 +5318,7 @@
"last_processing_response",
"owner_id",
"task_number",
"wait_cycles",
"create_date",
"finish_date"
],
Expand Down
1 change: 1 addition & 0 deletions roles/common/tasks/install_syslog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
if $programname startswith '{{ product_name }}' and $msg contains "Audit" then action(type="omfile" file="{{ fworch_log_dir }}/audit.log" template="fworch")
if $programname startswith '{{ product_name }}' and $msg contains "FWORCHAlert" then action(type="omfile" file="{{ fworch_log_dir }}/alert.log" template="fworch")
if $programname == '{{ product_name }}-webhook' then action(type="omfile" file="{{ fworch_log_dir }}/webhook.log" template="fworch")
if $programname == 'import-fworch-app-data' then action(type="omfile" file="{{ fworch_log_dir }}/import-fworch-app-data.log" template="fworch")
become: true

- name: edit logrotate
Expand Down
4 changes: 4 additions & 0 deletions roles/database/files/csv/color.csv
Original file line number Diff line number Diff line change
Expand Up @@ -753,3 +753,7 @@
"yellow3";"cdcd00"
"yellow4";"8b8b00"
"yellowgreen";"9acd32"
"crete blue";"485cd4"
"state blue";"a186ed"
"olive";"617d28"
"dark gold";"cdad00"
3 changes: 2 additions & 1 deletion roles/database/files/sql/creation/fworch-create-tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,8 @@ create table ext_request
last_creation_response varchar,
last_processing_response varchar,
create_date Timestamp default now(),
finish_date Timestamp
finish_date Timestamp,
wait_cycles int default 0
);

-- workflow -------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions roles/database/files/sql/creation/fworch-fill-stm.sql
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ insert into config (config_key, config_value, config_user) VALUES ('impChangeNot
insert into config (config_key, config_value, config_user) VALUES ('impChangeNotifyStartAt', '00:00:00', 0);
insert into config (config_key, config_value, config_user) VALUES ('externalRequestSleepTime', '0', 0);
insert into config (config_key, config_value, config_user) VALUES ('externalRequestStartAt', '00:00:00', 0);
insert into config (config_key, config_value, config_user) VALUES ('externalRequestWaitCycles', '0', 0);
insert into config (config_key, config_value, config_user) VALUES ('modExtraConfigs', '[]', 0);
insert into config (config_key, config_value, config_user) VALUES ('extTicketSystems', '[{"Url":"","TicketTemplate":"{\"ticket\":{\"subject\":\"@@TICKET_SUBJECT@@\",\"priority\":\"@@PRIORITY@@\",\"requester\":\"@@ONBEHALF@@\",\"domain_name\":\"\",\"workflow\":{\"name\":\"@@WORKFLOW_NAME@@\"},\"steps\":{\"step\":[{\"name\":\"Erfassung des Antrags\",\"tasks\":{\"task\":{\"fields\":{\"field\":[@@TASKS@@]}}}}]}}}","TasksTemplate":"{\"@xsi.type\":\"multi_access_request\",\"name\":\"GewünschterZugang\",\"read_only\":false,\"access_request\":{\"order\":\"AR1\",\"verifier_result\":{\"status\":\"notrun\"},\"use_topology\":true,\"targets\":{\"target\":{\"@type\":\"ANY\"}},\"users\":{\"user\":@@USERS@@},\"sources\":{\"source\":@@SOURCES@@},\"destinations\":{\"destination\":@@DESTINATIONS@@},\"services\":{\"service\":@@SERVICES@@},\"action\":\"@@ACTION@@\",\"labels\":\"\"}},{\"@xsi.type\":\"text_area\",\"name\":\"Grund für den Antrag\",\"read_only\":false,\"text\":\"@@REASON@@\"},{\"@xsi.type\":\"drop_down_list\",\"name\":\"Regel Log aktivieren?\",\"selection\":\"@@LOGGING@@\"},{\"@xsi.type\":\"date\",\"name\":\"Regel befristen bis:\"},{\"@xsi.type\":\"text_field\",\"name\":\"Anwendungs-ID\",\"text\":\"@@APPID@@\"},{\"@xsi.type\":\"checkbox\",\"name\":\"Die benötigte Kommunikationsverbindung ist im Kommunikationsprofil nach IT-Sicherheitsstandard hinterlegt\",\"value\":@@COM_DOCUMENTED@@},{\"@xsi.type\":\"drop_down_list\",\"name\":\"Expertenmodus: Exakt wie beantragt implementieren (Designervorschlag ignorieren)\",\"selection\":\"Nein\"}"}]', 0);
insert into config (config_key, config_value, config_user) VALUES ('welcomeMessage', '', 0);
Expand Down
Loading

0 comments on commit ce3698c

Please sign in to comment.