Skip to content

Commit dddba93

Browse files
Merge branch 'CactuseSecurity:develop' into develop
2 parents 5608809 + 7c27ede commit dddba93

35 files changed

Lines changed: 2667 additions & 1396 deletions

documentation/revision-history-develop.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,3 +362,6 @@ A complete 80K lines rework of FWO, including
362362

363363
# 9.0.8 - 25.02.2026 DEVELOP
364364
- new config value for removed App Server handling
365+
366+
# 9.0.10 - 28.02.2026 DEVELOP
367+
- new config value for User synchronization in owner data import

inventory/group_vars/all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### general settings
2-
product_version: "9.0.9"
2+
product_version: "9.0.10"
33
ansible_user: "{{ lookup('env', 'USER') }}"
44
ansible_become_method: sudo
55
ansible_python_interpreter: /usr/bin/python3

roles/common/files/fwo-api-calls/owner/deleteLifeCycle.graphql renamed to roles/common/files/fwo-api-calls/owner/deleteOwnerLifeCycle.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mutation deleteLifeCycle($id: Int!) {
1+
mutation deleteOwnerLifeCycle($id: Int!) {
22
delete_owner_lifecycle_state(where: {id: {_eq: $id}}) {
33
affected_rows
44
}

roles/common/files/fwo-api-calls/owner/newLifeCycle.graphql renamed to roles/common/files/fwo-api-calls/owner/newOwnerLifeCycle.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mutation newLifeCycle(
1+
mutation newOwnerLifeCycle(
22
$name: String!
33
) {
44
insert_owner_lifecycle_state(objects: {

roles/common/files/fwo-api-calls/owner/updateLifeCycle.graphql renamed to roles/common/files/fwo-api-calls/owner/updateOwnerLifeCycle.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mutation updateLifeCycle(
1+
mutation updateOwnerLifeCycle(
22
$id: Int!
33
$name: String!
44
) {

roles/common/files/fwo-api-calls/stmTables/getOwnerMappingSources.graphql

Lines changed: 0 additions & 6 deletions
This file was deleted.

roles/database/files/sql/creation/fworch-fill-stm.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ insert into config (config_key, config_value, config_user) VALUES ('autoReplaceA
139139
insert into config (config_key, config_value, config_user) VALUES ('ownerLdapId', '1', 0);
140140
insert into config (config_key, config_value, config_user) VALUES ('ownerLdapGroupNames', 'ModellerGroup_@@ExternalAppId@@', 0);
141141
insert into config (config_key, config_value, config_user) VALUES ('manageOwnerLdapGroups', 'true', 0);
142+
insert into config (config_key, config_value, config_user) VALUES ('ownerDataImportSyncUsers', 'true', 0);
142143
insert into config (config_key, config_value, config_user) VALUES ('modModelledMarker', 'FWOC', 0);
143144
insert into config (config_key, config_value, config_user) VALUES ('modModelledMarkerLocation', 'rulename', 0);
144145
insert into config (config_key, config_value, config_user) VALUES ('ruleRecognitionOption', '{"nwRegardIp":true,"nwRegardName":false,"nwRegardGroupName":false,"nwResolveGroup":false,"svcRegardPortAndProt":true,"svcRegardName":false,"svcRegardGroupName":false,"svcResolveGroup":true,"svcSplitPortRanges":false}', 0);
@@ -569,4 +570,4 @@ INSERT INTO stm_import (import_type_id, import_type_name) VALUES (3, 'admin via
569570
INSERT INTO stm_owner_mapping_source (owner_mapping_source_type_id, owner_mapping_source_type_name) VALUES (1, 'ip_based');
570571
INSERT INTO stm_owner_mapping_source (owner_mapping_source_type_id, owner_mapping_source_type_name) VALUES (2, 'custom_field');
571572
INSERT INTO stm_owner_mapping_source (owner_mapping_source_type_id, owner_mapping_source_type_name) VALUES (3, 'name_field');
572-
INSERT INTO stm_owner_mapping_source (owner_mapping_source_type_id, owner_mapping_source_type_name) VALUES (4, 'manual');
573+
INSERT INTO stm_owner_mapping_source (owner_mapping_source_type_id, owner_mapping_source_type_name) VALUES (4, 'manual');

roles/database/files/sql/idempotent/fworch-texts.sql

Lines changed: 101 additions & 73 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
insert into config (config_key, config_value, config_user) VALUES ('ownerDataImportSyncUsers', 'true', 0) ON CONFLICT DO NOTHING;

roles/lib/files/FWO.Api.Client/Queries/OwnerQueries.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ public class OwnerQueries : Queries
1616
public static readonly string getOwnersForDnsWithConn;
1717
public static readonly string getOwnersForDnsWithModellingWithConn;
1818
public static readonly string newOwner;
19-
public static readonly string newLifeCycle;
19+
public static readonly string newOwnerLifeCycle;
2020
public static readonly string updateOwner;
21-
public static readonly string updateLifeCycle;
21+
public static readonly string updateOwnerLifeCycle;
2222
public static readonly string deactivateOwner;
2323
public static readonly string deleteOwner;
24-
public static readonly string deleteLifeCycle;
24+
public static readonly string deleteOwnerLifeCycle;
2525
public static readonly string getOwnerLifeCycleStates;
2626
// public static readonly string setDefaultOwner;
2727
public static readonly string setOwnerLastCheck;
@@ -67,12 +67,12 @@ static OwnerQueries()
6767
getOwnersForDnsWithConn = ownerDetailsFragment + GetQueryText("owner/getOwnersForDnsWithConn.graphql");
6868
getOwnersForDnsWithModellingWithConn = ownerDetailsFragment + GetQueryText("owner/getOwnersForDnsWithModellingWithConn.graphql");
6969
newOwner = GetQueryText("owner/newOwner.graphql");
70-
newLifeCycle = GetQueryText("owner/newLifeCycle.graphql");
70+
newOwnerLifeCycle = GetQueryText("owner/newOwnerLifeCycle.graphql");
7171
updateOwner = GetQueryText("owner/updateOwner.graphql");
72-
updateLifeCycle = GetQueryText("owner/updateLifeCycle.graphql");
72+
updateOwnerLifeCycle = GetQueryText("owner/updateOwnerLifeCycle.graphql");
7373
deactivateOwner = GetQueryText("owner/deactivateOwner.graphql");
7474
deleteOwner = GetQueryText("owner/deleteOwner.graphql");
75-
deleteLifeCycle = GetQueryText("owner/deleteLifeCycle.graphql");
75+
deleteOwnerLifeCycle = GetQueryText("owner/deleteOwnerLifeCycle.graphql");
7676
getOwnerLifeCycleStates = GetQueryText("owner/getOwnerLifeCycleStates.graphql");
7777
setOwnerLastCheck = GetQueryText("owner/setOwnerLastCheck.graphql");
7878
setOwnerLastRecert = GetQueryText("owner/setOwnerLastRecert.graphql");

0 commit comments

Comments
 (0)