From 1d4041c7778b1c84738f5c9287034ab05400c20e Mon Sep 17 00:00:00 2001 From: pro100ton Date: Wed, 2 Jul 2025 11:44:21 +0300 Subject: [PATCH] Add some schemes for work needs --- .../cisco_ftd/.$CiscoFTD_FMC_app.drawio.bkp | 143 ++++ .../cisco_ftd/.$CiscoFTD_FMC_app.drawio.dtmp | 380 +++++++++ drawings/cisco_ftd/CiscoFTD_FMC_app.drawio | 380 +++++++++ drawings/logging/.$logging.drawio.bkp | 173 +++++ drawings/logging/.$logging.drawio.dtmp | 732 ++++++++++++++++++ drawings/logging/.$logging.drawio_1.dtmp | 176 +++++ drawings/logging/logging.drawio | 176 +++++ drawings/smc/fortigate_get_rules copy.puml | 19 + drawings/smc/fortigate_get_rules.puml | 29 + 9 files changed, 2208 insertions(+) create mode 100644 drawings/cisco_ftd/.$CiscoFTD_FMC_app.drawio.bkp create mode 100644 drawings/cisco_ftd/.$CiscoFTD_FMC_app.drawio.dtmp create mode 100644 drawings/cisco_ftd/CiscoFTD_FMC_app.drawio create mode 100644 drawings/logging/.$logging.drawio.bkp create mode 100644 drawings/logging/.$logging.drawio.dtmp create mode 100644 drawings/logging/.$logging.drawio_1.dtmp create mode 100644 drawings/logging/logging.drawio create mode 100644 drawings/smc/fortigate_get_rules copy.puml create mode 100644 drawings/smc/fortigate_get_rules.puml diff --git a/drawings/cisco_ftd/.$CiscoFTD_FMC_app.drawio.bkp b/drawings/cisco_ftd/.$CiscoFTD_FMC_app.drawio.bkp new file mode 100644 index 0000000..bdcef05 --- /dev/null +++ b/drawings/cisco_ftd/.$CiscoFTD_FMC_app.drawio.bkp @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/drawings/cisco_ftd/.$CiscoFTD_FMC_app.drawio.dtmp b/drawings/cisco_ftd/.$CiscoFTD_FMC_app.drawio.dtmp new file mode 100644 index 0000000..52de283 --- /dev/null +++ b/drawings/cisco_ftd/.$CiscoFTD_FMC_app.drawio.dtmp @@ -0,0 +1,380 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/drawings/cisco_ftd/CiscoFTD_FMC_app.drawio b/drawings/cisco_ftd/CiscoFTD_FMC_app.drawio new file mode 100644 index 0000000..17d1501 --- /dev/null +++ b/drawings/cisco_ftd/CiscoFTD_FMC_app.drawio @@ -0,0 +1,380 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/drawings/logging/.$logging.drawio.bkp b/drawings/logging/.$logging.drawio.bkp new file mode 100644 index 0000000..b71b2d1 --- /dev/null +++ b/drawings/logging/.$logging.drawio.bkp @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/drawings/logging/.$logging.drawio.dtmp b/drawings/logging/.$logging.drawio.dtmp new file mode 100644 index 0000000..5ac1d36 --- /dev/null +++ b/drawings/logging/.$logging.drawio.dtmp @@ -0,0 +1,732 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/drawings/logging/.$logging.drawio_1.dtmp b/drawings/logging/.$logging.drawio_1.dtmp new file mode 100644 index 0000000..1618e35 --- /dev/null +++ b/drawings/logging/.$logging.drawio_1.dtmp @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/drawings/logging/logging.drawio b/drawings/logging/logging.drawio new file mode 100644 index 0000000..5944d82 --- /dev/null +++ b/drawings/logging/logging.drawio @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/drawings/smc/fortigate_get_rules copy.puml b/drawings/smc/fortigate_get_rules copy.puml new file mode 100644 index 0000000..de64c1f --- /dev/null +++ b/drawings/smc/fortigate_get_rules copy.puml @@ -0,0 +1,19 @@ +@startuml +title Get policies from fortigate (sequence) +actor client +participant FortigatePoliciesAPIView +participant FortigatePoliciesSerializer +participant GetFortigatePolicies +entity fortigate + +client -> FortigatePoliciesAPIView: Give me fortigate rules +FortigatePoliciesAPIView -> GetFortigatePolicies: Initialize operation +GetFortigatePolicies -> fortigate: API request GET: cmdb/firewall/policy/ +fortigate -> GetFortigatePolicies: Response with policies +GetFortigatePolicies -> FortigatePoliciesAPIView: Return API response from fortiagate to API view +FortigatePoliciesAPIView -> FortigatePoliciesSerializer: Serialize API response from fortigate +FortigatePoliciesSerializer -> FortigatePoliciesAPIView: Serialized data +FortigatePoliciesAPIView -> client: Serialized fortigate rules + + +@enduml \ No newline at end of file diff --git a/drawings/smc/fortigate_get_rules.puml b/drawings/smc/fortigate_get_rules.puml new file mode 100644 index 0000000..8455ede --- /dev/null +++ b/drawings/smc/fortigate_get_rules.puml @@ -0,0 +1,29 @@ +@startuml +title Get policies from fortigate + +allowmixing + +cloud fortigate +actor client +component SMC { + class FortigatePoliciesAPIView { + + get() + } + class GetFortigatePolicies { + + perform_request() + } + class FortigatePoliciesSerializer { + + serialize() + } +} +client -down-> FortigatePoliciesAPIView: 1. Give me\nfortigate rules +FortigatePoliciesAPIView -> GetFortigatePolicies: 2. Initialize operation +GetFortigatePolicies -up-> fortigate: 3. API request\nGET: cmdb/firewall/policy/ +fortigate -down-> GetFortigatePolicies: 4. Response with policies +GetFortigatePolicies -right-> FortigatePoliciesAPIView: 5. Return API response\nfrom fortiagate to API view +FortigatePoliciesAPIView -down-> FortigatePoliciesSerializer: 6. Serialize API response\nfrom fortigate +FortigatePoliciesSerializer -up-> FortigatePoliciesAPIView: 7. Serialized\ndata +FortigatePoliciesAPIView -up-> client: 8. Serialized\nfortigate rules + + +@enduml \ No newline at end of file