Skip to content

Commit

Permalink
add os-triage.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Dec 9, 2024
1 parent 7f51c62 commit 4df67f5
Show file tree
Hide file tree
Showing 21 changed files with 2,118 additions and 0 deletions.
1,473 changes: 1,473 additions & 0 deletions services/fastapi/generated/os-triage/common_files/convert_n_and_e.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"current_incident": "incident--0c3984f2-03b0-4a6e-8568-b0f678aee83a", "current_company": "identity--86f326c5-0e44-4c3d-9170-da08a77bbcda", "company_list": ["identity--86f326c5-0e44-4c3d-9170-da08a77bbcda"], "incident_list": ["incident--0c3984f2-03b0-4a6e-8568-b0f678aee83a"]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"id": "identity--9cfa0d8d-5033-476e-b32f-49845fb2033c", "type": "identity", "original": {"type": "identity", "spec_version": "2.1", "id": "identity--9cfa0d8d-5033-476e-b32f-49845fb2033c", "created": "2024-09-01T06:49:33.807Z", "modified": "2024-09-01T06:49:33.807Z", "name": "HP Laptop 1", "description": "Usr 1's Laptop", "roles": ["laptop"], "identity_class": "asset", "sectors": ["technology"], "external_references": [{"source_name": "HP Ultima 10", "description": "16GB RAM, 1TB SD, Microsoft Windows 11 Professional", "url": "https://mail.echange.microsoft.com", "external_id": "Asset--629456a"}]}, "icon": "identity-asset", "name": "Hardware Asset", "heading": "Hardware Asset - HP Laptop 1", "description": "<br>Usr 1's Laptop<br>HP Ultima 10<br>16GB RAM, 1TB SD, Microsoft Windows 11 Professional"}, {"id": "identity--ff6ee573-da6c-4da9-ba35-70e83fa7fbe5", "type": "identity", "original": {"type": "identity", "spec_version": "2.1", "id": "identity--ff6ee573-da6c-4da9-ba35-70e83fa7fbe5", "created": "2024-09-01T06:49:33.829Z", "modified": "2024-09-01T06:49:33.829Z", "name": "HP Laptop 2", "description": "Usr 2's Laptop", "roles": ["laptop"], "identity_class": "asset", "sectors": ["technology"], "external_references": [{"source_name": "HP Ultima 10", "description": "16GB RAM, 1TB SD, Microsoft Windows 11 Professional", "url": "https://mail.echange.microsoft.com", "external_id": "Asset--629457ca"}]}, "icon": "identity-asset", "name": "Hardware Asset", "heading": "Hardware Asset - HP Laptop 2", "description": "<br>Usr 2's Laptop<br>HP Ultima 10<br>16GB RAM, 1TB SD, Microsoft Windows 11 Professional"}, {"id": "identity--5fa9263b-107b-47d7-a6ab-398c39409e8d", "type": "identity", "original": {"type": "identity", "spec_version": "2.1", "id": "identity--5fa9263b-107b-47d7-a6ab-398c39409e8d", "created": "2024-09-01T06:49:33.849Z", "modified": "2024-09-01T06:49:33.849Z", "name": "Apple MacBook Pro", "description": "Usr 3's Laptop", "roles": ["laptop"], "identity_class": "asset", "sectors": ["technology"], "external_references": [{"source_name": "Apple MaxBook Pro", "description": "32GB RAM, 1TB SD, Microsoft Windows 11 Professional", "url": "https://our-assets.com", "external_id": "Asset--629457bb"}]}, "icon": "identity-asset", "name": "Hardware Asset", "heading": "Hardware Asset - Apple MacBook Pro", "description": "<br>Usr 3's Laptop<br>Apple MaxBook Pro<br>32GB RAM, 1TB SD, Microsoft Windows 11 Professional"}, {"id": "identity--e8fa639c-27ee-41ef-980b-ea4c1dba71e8", "type": "identity", "original": {"type": "identity", "spec_version": "2.1", "id": "identity--e8fa639c-27ee-41ef-980b-ea4c1dba71e8", "created": "2024-09-01T06:49:33.870Z", "modified": "2024-09-01T06:49:33.870Z", "name": "Dell Inspiron Pro", "description": "Usr 4's Laptop", "roles": ["laptop"], "identity_class": "asset", "sectors": ["technology"], "external_references": [{"source_name": "Dell Inspiron Pro", "description": "32GB RAM, 1TB SD, Microsoft Windows 11 Professional", "url": "https://our-assets.com", "external_id": "Asset--62945788"}]}, "icon": "identity-asset", "name": "Hardware Asset", "heading": "Hardware Asset - Dell Inspiron Pro", "description": "<br>Usr 4's Laptop<br>Dell Inspiron Pro<br>32GB RAM, 1TB SD, Microsoft Windows 11 Professional"}, {"id": "identity--350a77f2-c01d-4db4-9397-e87836bffea1", "type": "identity", "original": {"type": "identity", "spec_version": "2.1", "id": "identity--350a77f2-c01d-4db4-9397-e87836bffea1", "created": "2024-09-01T06:49:33.892Z", "modified": "2024-09-01T06:49:33.892Z", "name": "ZScaler Pro", "description": "Usr 5's Laptop", "roles": ["laptop"], "identity_class": "asset", "sectors": ["technology"], "external_references": [{"source_name": "ZScaler Pro", "description": "32GB RAM, 1TB SD, Microsoft Windows 11 Professional", "url": "https://our-assets.com", "external_id": "Asset--62945788"}]}, "icon": "identity-asset", "name": "Hardware Asset", "heading": "Hardware Asset - ZScaler Pro", "description": "<br>Usr 5's Laptop<br>ZScaler Pro<br>32GB RAM, 1TB SD, Microsoft Windows 11 Professional"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"id": "identity--86f326c5-0e44-4c3d-9170-da08a77bbcda", "type": "identity", "original": {"type": "identity", "spec_version": "2.1", "id": "identity--86f326c5-0e44-4c3d-9170-da08a77bbcda", "created": "2024-09-01T06:49:33.268Z", "modified": "2024-09-01T06:49:33.268Z", "name": "Example Company", "description": "An Example Organisation", "identity_class": "organization", "sectors": ["technology"]}, "icon": "identity-organization", "name": "Organization", "heading": "Organization - Example Company", "description": "<br>An Example Organisation"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"name": "belongs-to", "type": "embedded", "source": "email-addr--4722424c-7012-56b0-84d5-01d076fc547b", "target": "user-account--597ad4d4-35ba-585d-8f6d-134a75032f9b", "id": "email-addr--4722424c-7012-56b0-84d5-01d076fc547b-user-account--597ad4d4-35ba-585d-8f6d-134a75032f9b"}, {"name": "email address", "type": "embedded", "source": "identity--ab48e338-adef-4407-8902-682d789a0bfe", "target": "email-addr--4722424c-7012-56b0-84d5-01d076fc547b", "id": "identity--ab48e338-adef-4407-8902-682d789a0bfe-email-addr--4722424c-7012-56b0-84d5-01d076fc547b"}, {"name": "user account", "type": "embedded", "source": "identity--ab48e338-adef-4407-8902-682d789a0bfe", "target": "user-account--597ad4d4-35ba-585d-8f6d-134a75032f9b", "id": "identity--ab48e338-adef-4407-8902-682d789a0bfe-user-account--597ad4d4-35ba-585d-8f6d-134a75032f9b"}, {"name": "belongs-to", "type": "embedded", "source": "email-addr--b0708db8-71e9-50f9-950c-610fccd2c30b", "target": "user-account--5c0dcb9b-5784-5aaf-b393-d990a4d68dd3", "id": "email-addr--b0708db8-71e9-50f9-950c-610fccd2c30b-user-account--5c0dcb9b-5784-5aaf-b393-d990a4d68dd3"}, {"name": "email address", "type": "embedded", "source": "identity--a1c58996-e3e6-43c1-a3ae-91da077a49fe", "target": "email-addr--b0708db8-71e9-50f9-950c-610fccd2c30b", "id": "identity--a1c58996-e3e6-43c1-a3ae-91da077a49fe-email-addr--b0708db8-71e9-50f9-950c-610fccd2c30b"}, {"name": "user account", "type": "embedded", "source": "identity--a1c58996-e3e6-43c1-a3ae-91da077a49fe", "target": "user-account--5c0dcb9b-5784-5aaf-b393-d990a4d68dd3", "id": "identity--a1c58996-e3e6-43c1-a3ae-91da077a49fe-user-account--5c0dcb9b-5784-5aaf-b393-d990a4d68dd3"}, {"name": "belongs-to", "type": "embedded", "source": "email-addr--72fa6570-cce5-5be5-916d-452de0e1adb5", "target": "user-account--113460bd-67f7-5611-bbbb-158d5c45255e", "id": "email-addr--72fa6570-cce5-5be5-916d-452de0e1adb5-user-account--113460bd-67f7-5611-bbbb-158d5c45255e"}, {"name": "email address", "type": "embedded", "source": "identity--e6782443-50ad-483d-8490-ba6d2e7a0344", "target": "email-addr--72fa6570-cce5-5be5-916d-452de0e1adb5", "id": "identity--e6782443-50ad-483d-8490-ba6d2e7a0344-email-addr--72fa6570-cce5-5be5-916d-452de0e1adb5"}, {"name": "user account", "type": "embedded", "source": "identity--e6782443-50ad-483d-8490-ba6d2e7a0344", "target": "user-account--113460bd-67f7-5611-bbbb-158d5c45255e", "id": "identity--e6782443-50ad-483d-8490-ba6d2e7a0344-user-account--113460bd-67f7-5611-bbbb-158d5c45255e"}, {"name": "belongs-to", "type": "embedded", "source": "email-addr--b8048a91-def8-5ef7-8cd3-a7b3db9278e5", "target": "user-account--2b87df75-b95c-5808-bcc7-f6d23471b9b4", "id": "email-addr--b8048a91-def8-5ef7-8cd3-a7b3db9278e5-user-account--2b87df75-b95c-5808-bcc7-f6d23471b9b4"}, {"name": "email address", "type": "embedded", "source": "identity--6c37e812-0738-461d-aa5b-cd7cee0f3f12", "target": "email-addr--b8048a91-def8-5ef7-8cd3-a7b3db9278e5", "id": "identity--6c37e812-0738-461d-aa5b-cd7cee0f3f12-email-addr--b8048a91-def8-5ef7-8cd3-a7b3db9278e5"}, {"name": "user account", "type": "embedded", "source": "identity--6c37e812-0738-461d-aa5b-cd7cee0f3f12", "target": "user-account--2b87df75-b95c-5808-bcc7-f6d23471b9b4", "id": "identity--6c37e812-0738-461d-aa5b-cd7cee0f3f12-user-account--2b87df75-b95c-5808-bcc7-f6d23471b9b4"}, {"name": "belongs-to", "type": "embedded", "source": "email-addr--30d9a416-203b-55c8-b796-8eb65ab5275e", "target": "user-account--9a5926a5-b2e9-56c0-82fd-3c858bf14832", "id": "email-addr--30d9a416-203b-55c8-b796-8eb65ab5275e-user-account--9a5926a5-b2e9-56c0-82fd-3c858bf14832"}, {"name": "email address", "type": "embedded", "source": "identity--8b9349c3-0abf-43f0-9084-c58a4e538e2e", "target": "email-addr--30d9a416-203b-55c8-b796-8eb65ab5275e", "id": "identity--8b9349c3-0abf-43f0-9084-c58a4e538e2e-email-addr--30d9a416-203b-55c8-b796-8eb65ab5275e"}, {"name": "user account", "type": "embedded", "source": "identity--8b9349c3-0abf-43f0-9084-c58a4e538e2e", "target": "user-account--9a5926a5-b2e9-56c0-82fd-3c858bf14832", "id": "identity--8b9349c3-0abf-43f0-9084-c58a4e538e2e-user-account--9a5926a5-b2e9-56c0-82fd-3c858bf14832"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"id": "identity--9978194c-6376-4e30-aed3-643fcb6000ec", "type": "identity", "original": {"type": "identity", "spec_version": "2.1", "id": "identity--9978194c-6376-4e30-aed3-643fcb6000ec", "created": "2024-09-01T06:49:33.776Z", "modified": "2024-09-01T06:49:33.776Z", "name": "Microsoft Exchange", "description": "My Local Exchange Server", "roles": ["server"], "identity_class": "system", "sectors": ["technology"], "external_references": [{"source_name": "Exchange Server", "description": "our email server", "url": "https://mail.echange.microsoft.com", "external_id": "admin"}]}, "icon": "identity-system", "name": "Software System", "heading": "Software System - Microsoft Exchange", "description": "<br>My Local Exchange Server<br>Exchange Server<br>our email server"}]
Loading

0 comments on commit 4df67f5

Please sign in to comment.