agilicus 1.271.3__py3-none-any.whl → 1.271.5__py3-none-any.whl
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.
- agilicus/agilicus_api/api_client.py +1 -1
- agilicus/agilicus_api/configuration.py +1 -1
- agilicus/agilicus_api_README.md +1 -1
- agilicus/rules/rules.py +23 -0
- agilicus/rules/rules_main.py +10 -0
- {agilicus-1.271.3.dist-info → agilicus-1.271.5.dist-info}/METADATA +2 -2
- {agilicus-1.271.3.dist-info → agilicus-1.271.5.dist-info}/RECORD +10 -10
- {agilicus-1.271.3.dist-info → agilicus-1.271.5.dist-info}/LICENSE.txt +0 -0
- {agilicus-1.271.3.dist-info → agilicus-1.271.5.dist-info}/WHEEL +0 -0
- {agilicus-1.271.3.dist-info → agilicus-1.271.5.dist-info}/entry_points.txt +0 -0
@@ -77,7 +77,7 @@ class ApiClient(object):
|
|
77
77
|
self.default_headers[header_name] = header_value
|
78
78
|
self.cookie = cookie
|
79
79
|
# Set default User-Agent.
|
80
|
-
self.user_agent = 'OpenAPI-Generator/1.271.
|
80
|
+
self.user_agent = 'OpenAPI-Generator/1.271.5/python'
|
81
81
|
|
82
82
|
def __enter__(self):
|
83
83
|
return self
|
@@ -387,7 +387,7 @@ class Configuration(object):
|
|
387
387
|
"OS: {env}\n"\
|
388
388
|
"Python Version: {pyversion}\n"\
|
389
389
|
"Version of the API: 2024.12.02\n"\
|
390
|
-
"SDK Package Version: 1.271.
|
390
|
+
"SDK Package Version: 1.271.5".\
|
391
391
|
format(env=sys.platform, pyversion=sys.version)
|
392
392
|
|
393
393
|
def get_host_settings(self):
|
agilicus/agilicus_api_README.md
CHANGED
@@ -4,7 +4,7 @@ Agilicus is API-first. Modern software is controlled by other software, is open,
|
|
4
4
|
The `agilicus_api` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
5
5
|
|
6
6
|
- API version: 2024.12.02
|
7
|
-
- Package version: 1.271.
|
7
|
+
- Package version: 1.271.5
|
8
8
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
9
9
|
For more information, please visit [https://www.agilicus.com/api](https://www.agilicus.com/api)
|
10
10
|
|
agilicus/rules/rules.py
CHANGED
@@ -712,6 +712,29 @@ def add_bundle_label(
|
|
712
712
|
)
|
713
713
|
|
714
714
|
|
715
|
+
def delete_bundle_label(ctx, bundle_id, label, label_org_id=None, **kwargs):
|
716
|
+
token = context.get_token(ctx)
|
717
|
+
apiclient = context.get_apiclient(ctx, token)
|
718
|
+
|
719
|
+
org_id = get_org_from_input_or_ctx(ctx, **kwargs)
|
720
|
+
kwargs["org_id"] = org_id
|
721
|
+
if label_org_id is None:
|
722
|
+
label_org_id = org_id
|
723
|
+
|
724
|
+
bundle = get_bundle(ctx, bundle_id, **kwargs)
|
725
|
+
|
726
|
+
labels = []
|
727
|
+
for _label in bundle.spec.labels or []:
|
728
|
+
if _label.label.name.value == label and _label.label.org_id == label_org_id:
|
729
|
+
continue
|
730
|
+
labels.append(_label)
|
731
|
+
|
732
|
+
bundle.spec.labels = labels
|
733
|
+
return apiclient.rules_api.replace_standalone_ruleset_bundle(
|
734
|
+
bundle_id, standalone_ruleset_bundle=bundle
|
735
|
+
)
|
736
|
+
|
737
|
+
|
715
738
|
def delete_bundle(ctx, bundle_id, **kwargs):
|
716
739
|
token = context.get_token(ctx)
|
717
740
|
apiclient = context.get_apiclient(ctx, token)
|
agilicus/rules/rules_main.py
CHANGED
@@ -269,6 +269,16 @@ def cli_command_add_rulesets_bundle_label(ctx, **kwargs):
|
|
269
269
|
output_entry(ctx, result.to_dict())
|
270
270
|
|
271
271
|
|
272
|
+
@click.command(name="delete-standalone-ruleset-bundle-label")
|
273
|
+
@click.argument("bundle-id")
|
274
|
+
@click.argument("label")
|
275
|
+
@click.option("--label-org-id", default=None)
|
276
|
+
@click.pass_context
|
277
|
+
def cli_command_delete_rulesets_bundle_label(ctx, **kwargs):
|
278
|
+
result = rules.delete_bundle_label(ctx, **kwargs)
|
279
|
+
output_entry(ctx, result.to_dict())
|
280
|
+
|
281
|
+
|
272
282
|
@click.command(name="delete-standalone-ruleset-bundle")
|
273
283
|
@click.argument("bundle-id", nargs=-1)
|
274
284
|
@click.option("--org-id", default=None)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: agilicus
|
3
|
-
Version: 1.271.
|
3
|
+
Version: 1.271.5
|
4
4
|
Summary: Agilicus SDK
|
5
5
|
Home-page: https://www.agilicus.com/
|
6
6
|
License: MIT
|
@@ -31,7 +31,7 @@ Requires-Dist: oauth2client (>=4.1.3,<4.2.0)
|
|
31
31
|
Requires-Dist: paho-mqtt (>=1.6.1,<3.0.0)
|
32
32
|
Requires-Dist: pem (>=23.1.0,<24.0.0)
|
33
33
|
Requires-Dist: prettytable (>=3.9.0,<4.0.0)
|
34
|
-
Requires-Dist: prometheus_client (==0.
|
34
|
+
Requires-Dist: prometheus_client (==0.21.0) ; extra == "billing"
|
35
35
|
Requires-Dist: python_dateutil (>2.5.3)
|
36
36
|
Requires-Dist: pyyaml (==6.0.2)
|
37
37
|
Requires-Dist: requests (>=2.23.0,<3.0.0)
|
@@ -71,9 +71,9 @@ agilicus/agilicus_api/api/users_api.py,sha256=7lamed3uggS_85M-Vs3Ov5dv39DuZt3JBm
|
|
71
71
|
agilicus/agilicus_api/api/users_api_mock.py,sha256=wA_xiqL3Pz3KjljKlsmf5NveLZS1FpbaKJHBp7QvarY,15411
|
72
72
|
agilicus/agilicus_api/api/whoami_api.py,sha256=jenjlc0N-j2Zdy6_ptdk-p4mAHHyh_eoJ_OS62HQ_UQ,7941
|
73
73
|
agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
|
74
|
-
agilicus/agilicus_api/api_client.py,sha256=
|
74
|
+
agilicus/agilicus_api/api_client.py,sha256=rNSBZShERKczHCeIUQIUIKVsIV-eC_6dSBWDoeOfXH0,38845
|
75
75
|
agilicus/agilicus_api/apis/__init__.py,sha256=aJZD7x-umdSni6ZBr4XxzpH8pwtU9hA5LlCDxcqa1Q8,2224
|
76
|
-
agilicus/agilicus_api/configuration.py,sha256=
|
76
|
+
agilicus/agilicus_api/configuration.py,sha256=CtiN2o3RJUH7uC1VWaiFFAMXDIjnTFQQV1XNVtVbtlE,18447
|
77
77
|
agilicus/agilicus_api/docs/APIKey.md,sha256=4cKuz4_l9HcEDnUrLwYbEnn9C2WoDayrjfrY1Ixgaf4,1747
|
78
78
|
agilicus/agilicus_api/docs/APIKeyIntrospect.md,sha256=nJ-zkuFm3JMbWFDYYN_vYyQk1snGBtBvIxtCQxamhAU,1019
|
79
79
|
agilicus/agilicus_api/docs/APIKeyIntrospectAuthorizationInfo.md,sha256=7RApOOLjvWQs5sw2jb25g7i3Kta1BiEY-s8VRXfppH8,725
|
@@ -2559,7 +2559,7 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=L936vt1BunCRleBa
|
|
2559
2559
|
agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=UC4QureuGPXfKm9ee3JCY06dn5KnR1zc8CCdFuKetjY,2832
|
2560
2560
|
agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=TkdoIHi7vBhprmJTQr5d63ZiEVCf2i1iyKDa_z8NrdE,2846
|
2561
2561
|
agilicus/agilicus_api/test/test_xss_settings.py,sha256=DUnxOJdBvopo846-28zNsyX28vD3TVCjxtKNhG3XXSQ,2746
|
2562
|
-
agilicus/agilicus_api_README.md,sha256=
|
2562
|
+
agilicus/agilicus_api_README.md,sha256=76chMVLBeKW8HJtqwSvVIh7-r2mJvZTCp-E55C9Tmzk,163772
|
2563
2563
|
agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
|
2564
2564
|
agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
|
2565
2565
|
agilicus/apps.py,sha256=ZRPqOq9ecFTqaBce5JQW7e1zekoJbhgYKDDsxyWo5BA,53212
|
@@ -2636,8 +2636,8 @@ agilicus/regions.py,sha256=21SzUJ9_hC8DiWLSLJ-vtSb1tWLhlcPXH9JhmXD_ypU,3343
|
|
2636
2636
|
agilicus/resource_helpers.py,sha256=fyfqAxjfnIth1KlHNALlLtYYXIZzlWEJmSZNLdj2JV0,380
|
2637
2637
|
agilicus/resources.py,sha256=15wI1iemIGi_gIB4f1mhpOCkZNQB0LpV0vluqEzwkrY,11088
|
2638
2638
|
agilicus/response.py,sha256=tI2-dAJwhBuuDplSsouuMmCmKHSwR_Mx71af8tgsuYo,468
|
2639
|
-
agilicus/rules/rules.py,sha256=
|
2640
|
-
agilicus/rules/rules_main.py,sha256=
|
2639
|
+
agilicus/rules/rules.py,sha256=ALaWcePTAqFXqB9zuXapG4QV0jjZdvDX3a4hYlstL0M,29201
|
2640
|
+
agilicus/rules/rules_main.py,sha256=3mawQd0C8py7r7MSjXymapskaLw-O-VG1G-Zy3U1i2I,14800
|
2641
2641
|
agilicus/scopes.py,sha256=OgPUksJSOSaJ3XcHPP8WJQ3e_p8B9wVmRXr-oZDfZP0,1344
|
2642
2642
|
agilicus/service_configuration.py,sha256=WlsvTKA_bkle1PthJK0S96lpPK7GNr-BWWp8a_-MgtM,490
|
2643
2643
|
agilicus/service_token.py,sha256=YDVFeBe9Yv0qYvfUenwnpGHuj2x1J06YUe5A_C8L6L4,7162
|
@@ -2652,8 +2652,8 @@ agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4n
|
|
2652
2652
|
agilicus/users.py,sha256=JT7TIiUOtSFXPOdxmIVFm7ygZTH1FjsIkD9j-vjLuMM,38474
|
2653
2653
|
agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
|
2654
2654
|
agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
|
2655
|
-
agilicus-1.271.
|
2656
|
-
agilicus-1.271.
|
2657
|
-
agilicus-1.271.
|
2658
|
-
agilicus-1.271.
|
2659
|
-
agilicus-1.271.
|
2655
|
+
agilicus-1.271.5.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
|
2656
|
+
agilicus-1.271.5.dist-info/METADATA,sha256=zVCj4VtwhsMnAbo0yv5SBCWwM9bXP1_rbQAo1tUkiFQ,3873
|
2657
|
+
agilicus-1.271.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
2658
|
+
agilicus-1.271.5.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
|
2659
|
+
agilicus-1.271.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|