Skip to content

Commit

Permalink
Merge pull request #53 from CactuseSecurity/develop
Browse files Browse the repository at this point in the history
Update Fork to Latest Version
  • Loading branch information
alf-cactus committed Apr 8, 2024
2 parents 56dcab9 + 7742e15 commit fa6eddc
Show file tree
Hide file tree
Showing 478 changed files with 17,488 additions and 7,563 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.idea/
.test_data/
roles/importer/venv/
ansible_venv/
82 changes: 61 additions & 21 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,48 @@
"moduleLoad": false
}
},
{
"name": "py-normalizeRlmOwners",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/scripts/customizing/modelling/getOwnersFromTufinRlm.py",
"console": "integratedTerminal",
"env": {
"PYTHONPATH": "${PYTHONPATH}:${workspaceRoot}"
},
"args": [
"-c${workspaceFolder}/scripts/customizing/modelling/customizingConfig.json"
]
},
{
"name": "py-normalizeNwData",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/scripts/customizing/modelling/convertNwObjDataExample.py",
"console": "integratedTerminal",
"env": {
"PYTHONPATH": "${PYTHONPATH}:${workspaceRoot}"
},
"args": [
"-c${workspaceFolder}/scripts/customizing/modelling/customizingConfig.json"
]
},
{
"name": "py-import-mgm",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/importer/files/importer/import-mgm.py",
"console": "integratedTerminal",
"env": {
"PYTHONPATH": "${PYTHONPATH}:${workspaceRoot}"
},
"args": [
"-m15",
"-d8",
"-m5",
"-d1",
"-f",
"-s",
//"-c"
//"-l66",
// "-c"
//"-l250"
// 41 - lab fortimanager
//"-nhttps://fwodemodata.cactus.de/demo07_dummyGw1.json"
Expand All @@ -70,9 +97,22 @@
//"-ihttps://fwodemodata.cactus.de/big/xxx.json",
]
},
{
"name": "py-customize-FWO-sample",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/scripts/customizing/customizeFwoSampleScript.py",
"console": "integratedTerminal",
"env": {
"PYTHONPATH": "${PYTHONPATH}:${workspaceRoot}"
},
"args": [
"-c${workspaceFolder}/scripts/customizing/sampleCustomSettings.json"
]
},
{
"name": "py-acquire-lock",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/common/files/acquire_lock.py",
"console": "integratedTerminal",
Expand All @@ -85,7 +125,7 @@
},
{
"name": "py-generate-tenant-data",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/test/files/tenant_networks/create_tenant_network_data.py",
"console": "integratedTerminal",
Expand All @@ -96,7 +136,7 @@
},
{
"name": "py-change-comment",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/sample-data/files/config_changes/write_date_to_comment.py",
"console": "integratedTerminal",
Expand All @@ -107,7 +147,7 @@
},
{
"name": "py-change-rule",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/sample-data/files/config_changes/enlarge_rule.py",
"console": "integratedTerminal",
Expand All @@ -118,7 +158,7 @@
},
{
"name": "py-cpr8x-get-config",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/importer/files/importer/checkpointR8x/get_config.py",
"console": "integratedTerminal",
Expand All @@ -136,7 +176,7 @@
},
{
"name": "py-cpr8x-enrich-config",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/importer/files/importer/checkpointR8x/enrich_config.py",
"console": "integratedTerminal",
Expand All @@ -153,7 +193,7 @@
},
{
"name": "py-cpr8x-parse-config",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/importer/files/importer/checkpointR8x/parse_config.py",
"console": "integratedTerminal",
Expand All @@ -167,7 +207,7 @@
},
{
"name": "py-cpr8x-api-test-call",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/importer/files/importer/checkpointR8x/api-test-call.py",
"console": "integratedTerminal",
Expand All @@ -180,7 +220,7 @@
},
{
"name": "py-get-config-fm7",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/importer/files/importer/fortimanager5ff/get_config.py",
"console": "integratedTerminal",
Expand All @@ -198,7 +238,7 @@
},
{
"name": "py-export-itsecorg",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/api/files/scripts/fwo-export-itsecorg-devices.py",
"console": "integratedTerminal",
Expand All @@ -215,7 +255,7 @@
},
{
"name": "py-export-config",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/api/files/scripts/fwo-export-config.py",
"console": "integratedTerminal",
Expand All @@ -228,7 +268,7 @@
},
{
"name": "py-execute-graphql",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/api/files/scripts/fwo-execute-graphql.py",
"console": "integratedTerminal",
Expand All @@ -241,7 +281,7 @@
},
{
"name": "py-execute-graphql-query",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/api/files/scripts/fwo-execute-graphql-query.py",
"console": "integratedTerminal",
Expand All @@ -254,7 +294,7 @@
},
{
"name": "py-cpr8x-autodiscovery",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/importer/files/importer/checkpointR8x/auto-discover.py",
"console": "integratedTerminal",
Expand All @@ -272,7 +312,7 @@
},
{
"name": "py-import-main-loop",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/roles/importer/files/importer/import-main-loop.py",
"console": "integratedTerminal",
Expand All @@ -289,13 +329,13 @@
"name": "c#-FWO Test",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build_test",
// "preLaunchTask": "build_test",
"program": "/usr/bin/dotnet",
"args": [
"test"
],
"cwd": "${workspaceFolder}/roles/test/files/FWO.Test",
"stopAtEntry": true,
"stopAtEntry": false,
"console": "integratedTerminal"
},
{
Expand Down
3 changes: 2 additions & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# ansible.cfg
[defaults]
inventory = inventory
#timeout = 60
# interpreter_python = ~/.local/bin/ansible
# timeout = 60
force_handlers = True
stdout_callback = yaml

Expand Down
Loading

0 comments on commit fa6eddc

Please sign in to comment.