illumio-pylo 0.3.2__tar.gz → 0.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {illumio_pylo-0.3.2/illumio_pylo.egg-info → illumio_pylo-0.3.3}/PKG-INFO +1 -1
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/API/APIConnector.py +30 -1
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/API/CredentialsManager.py +0 -1
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/API/JsonPayloadTypes.py +29 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/__init__.py +1 -1
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3/illumio_pylo.egg-info}/PKG-INFO +1 -1
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/.devcontainer/Dockerfile +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/.devcontainer/devcontainer.json +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/.gitattributes +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/.github/workflows/doxygen-publish.yml +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/.github/workflows/make-binaries.yml +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/.github/workflows/python-publish.yml +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/.gitignore +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/LICENSE +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/README.md +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/check_unique_hostnames.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/check_unique_services.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/delete_all_workloads.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/delete_unused_services.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/explorer_report_exporter.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/export_rules_to_firewall.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/generate-random-workloads.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/healthcheck_log.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/import-labels.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/import_workloads_placeholders.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/iplists_stats_duplicates_unused_finder.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/recalculate_explorer_logs.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/recalculate_explorer_logs_multithreaded.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/rules_exporter.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/rules_exporter_special.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/test.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/test_change_workload_desc.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/test_query.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/test_query2.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/test_securityprincipals.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/ven_idle_to_illumination.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/ven_reassign_pce.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/examples/explorer_query.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/examples/extend_cli.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/API/AuditLog.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/API/ClusterHealth.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/API/Explorer.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/API/RuleSearchQuery.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/API/__init__.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/AgentStore.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/Exception.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/Helpers/__init__.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/Helpers/exports.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/Helpers/functions.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/IPList.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/IPMap.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/Label.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/LabelCommon.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/LabelGroup.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/LabelStore.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/LabeledObject.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/Organization.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/Query.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/ReferenceTracker.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/Rule.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/Ruleset.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/RulesetStore.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/SecurityPrincipal.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/Service.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/SoftwareVersion.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/VirtualService.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/VirtualServiceStore.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/Workload.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/WorkloadStore.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/WorkloadStoreSubClasses.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/NativeParsers.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/__init__.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/__main__.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/__init__.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/credential_manager.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/iplist_analyzer.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/iplist_import_from_file.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/ruleset_export.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/update_pce_objects_cache.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/utils/LabelCreation.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/utils/__init__.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/utils/misc.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/ven_compatibility_report_export.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/ven_duplicate_remover.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/ven_idle_to_visibility.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/ven_upgrader.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/workload_export.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/workload_import.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/workload_reset_names_to_null.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/workload_update.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/workload_used_in_rule_finder.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/docs/Doxygen +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/tmp.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/utilities/__init__.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/utilities/cli.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/utilities/credentials.example.json +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/utilities/health_monitoring.py +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/utilities/resources/iplists-import-example.csv +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/utilities/resources/iplists-import-example.xlsx +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/utilities/resources/workload-exporter-filter-example.csv +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/utilities/resources/workloads-import-example.csv +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/utilities/resources/workloads-import-example.xlsx +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo.egg-info/SOURCES.txt +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo.egg-info/dependency_links.txt +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo.egg-info/requires.txt +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo.egg-info/top_level.txt +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/pyproject.toml +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/requirements.txt +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/setup.cfg +0 -0
- {illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/setup.py +0 -0
|
@@ -12,7 +12,7 @@ from .JsonPayloadTypes import LabelGroupObjectJsonStructure, LabelObjectCreation
|
|
|
12
12
|
LabelDimensionObjectStructure, AuditLogApiReplyEventJsonStructure, WorkloadsGetQueryLabelFilterJsonStructure, \
|
|
13
13
|
NetworkDeviceObjectJsonStructure, NetworkDeviceEndpointObjectJsonStructure, HrefReference, \
|
|
14
14
|
WorkloadObjectCreateJsonStructure, WorkloadObjectMultiCreateJsonRequestPayload, \
|
|
15
|
-
WorkloadBulkUpdateEntryJsonStructure, WorkloadBulkUpdateResponseEntry
|
|
15
|
+
WorkloadBulkUpdateEntryJsonStructure, WorkloadBulkUpdateResponseEntry, VenObjectJsonStructure
|
|
16
16
|
|
|
17
17
|
try:
|
|
18
18
|
import requests as requests
|
|
@@ -624,6 +624,35 @@ class APIConnector:
|
|
|
624
624
|
|
|
625
625
|
return None
|
|
626
626
|
|
|
627
|
+
def objects_ven_get(self,
|
|
628
|
+
include_deleted=False,
|
|
629
|
+
filter_by_ip: str = None,
|
|
630
|
+
filter_by_label: Optional[WorkloadsGetQueryLabelFilterJsonStructure] = None,
|
|
631
|
+
filter_by_name: str = None,
|
|
632
|
+
max_results: int = None,
|
|
633
|
+
async_mode=True) -> List[VenObjectJsonStructure]:
|
|
634
|
+
path = '/vens'
|
|
635
|
+
data = {}
|
|
636
|
+
|
|
637
|
+
if include_deleted:
|
|
638
|
+
data['include_deleted'] = 'yes'
|
|
639
|
+
|
|
640
|
+
if filter_by_ip is not None:
|
|
641
|
+
data['ip_address'] = filter_by_ip
|
|
642
|
+
|
|
643
|
+
if filter_by_label is not None:
|
|
644
|
+
# filter_by_label must be converted to json text
|
|
645
|
+
data['labels'] = json.dumps(filter_by_label)
|
|
646
|
+
|
|
647
|
+
if filter_by_name is not None:
|
|
648
|
+
data['name'] = filter_by_name
|
|
649
|
+
|
|
650
|
+
if max_results is not None:
|
|
651
|
+
data['max_results'] = max_results
|
|
652
|
+
|
|
653
|
+
return self.do_get_call(path=path, async_call=async_mode, params=data)
|
|
654
|
+
|
|
655
|
+
|
|
627
656
|
def objects_workload_get(self,
|
|
628
657
|
include_deleted=False,
|
|
629
658
|
filter_by_ip: str = None,
|
|
@@ -121,6 +121,35 @@ class WorkloadBulkUpdateResponseEntry(TypedDict):
|
|
|
121
121
|
message: NotRequired[str]
|
|
122
122
|
|
|
123
123
|
|
|
124
|
+
class VenObjectWorkloadSummaryJsonStructure(TypedDict):
|
|
125
|
+
href: str
|
|
126
|
+
mode: str
|
|
127
|
+
online: bool
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
class VenObjectJsonStructure(TypedDict):
|
|
131
|
+
created_at: str
|
|
132
|
+
created_by: Optional[HrefReferenceWithName]
|
|
133
|
+
description: Optional[str]
|
|
134
|
+
hostname: Optional[str]
|
|
135
|
+
href: str
|
|
136
|
+
labels: List[HrefReference]
|
|
137
|
+
name: Optional[str]
|
|
138
|
+
interfaces: List[WorkloadInterfaceObjectJsonStructure]
|
|
139
|
+
updated_at: str
|
|
140
|
+
updated_by: Optional[HrefReferenceWithName]
|
|
141
|
+
last_heartbeat_at: Optional[str]
|
|
142
|
+
last_goodbye_at: Optional[str]
|
|
143
|
+
ven_type: Literal['server', 'endpoint', 'containerized-ven']
|
|
144
|
+
active_pce_fqdn: Optional[str]
|
|
145
|
+
target_pce_fqdn: Optional[str]
|
|
146
|
+
workloads: List[VenObjectWorkloadSummaryJsonStructure]
|
|
147
|
+
version: Optional[str]
|
|
148
|
+
os_id: Optional[str]
|
|
149
|
+
os_version: Optional[str]
|
|
150
|
+
os_platform: Optional[str]
|
|
151
|
+
uid: Optional[str]
|
|
152
|
+
|
|
124
153
|
|
|
125
154
|
class RuleServiceReferenceObjectJsonStructure(TypedDict):
|
|
126
155
|
href: str
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/iplists_stats_duplicates_unused_finder.py
RENAMED
|
File without changes
|
|
File without changes
|
{illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/dev_playground/recalculate_explorer_logs_multithreaded.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/iplist_import_from_file.py
RENAMED
|
File without changes
|
|
File without changes
|
{illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/update_pce_objects_cache.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/ven_duplicate_remover.py
RENAMED
|
File without changes
|
{illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/ven_idle_to_visibility.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/workload_reset_names_to_null.py
RENAMED
|
File without changes
|
|
File without changes
|
{illumio_pylo-0.3.2 → illumio_pylo-0.3.3}/illumio_pylo/cli/commands/workload_used_in_rule_finder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|