agilicus 1.258.8__py3-none-any.whl → 1.258.9__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.258.8/python'
80
+ self.user_agent = 'OpenAPI-Generator/1.258.9/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.06.06\n"\
390
- "SDK Package Version: 1.258.8".\
390
+ "SDK Package Version: 1.258.9".\
391
391
  format(env=sys.platform, pyversion=sys.version)
392
392
 
393
393
  def get_host_settings(self):
@@ -518,6 +518,7 @@ with agilicus_api.ApiClient(configuration) as api_client:
518
518
  rule_name=StandaloneRuleName("my-rule"),
519
519
  ),
520
520
  ],
521
+ require_children_true=True,
521
522
  ),
522
523
  org_id="123",
523
524
  object_conditions=StandaloneObjectConditions(
@@ -743,6 +744,7 @@ with agilicus_api.ApiClient(configuration) as api_client:
743
744
  rule_name=StandaloneRuleName("my-rule"),
744
745
  ),
745
746
  ],
747
+ require_children_true=True,
746
748
  ),
747
749
  org_id="123",
748
750
  object_conditions=StandaloneObjectConditions(
@@ -991,6 +993,7 @@ with agilicus_api.ApiClient(configuration) as api_client:
991
993
  rule_name=StandaloneRuleName("my-rule"),
992
994
  ),
993
995
  ],
996
+ require_children_true=True,
994
997
  ),
995
998
  org_id="123",
996
999
  object_conditions=StandaloneObjectConditions(
@@ -3033,6 +3036,7 @@ with agilicus_api.ApiClient(configuration) as api_client:
3033
3036
  rule_name=StandaloneRuleName("my-rule"),
3034
3037
  ),
3035
3038
  ],
3039
+ require_children_true=True,
3036
3040
  ),
3037
3041
  org_id="123",
3038
3042
  object_conditions=StandaloneObjectConditions(
@@ -3269,6 +3273,7 @@ with agilicus_api.ApiClient(configuration) as api_client:
3269
3273
  rule_name=StandaloneRuleName("my-rule"),
3270
3274
  ),
3271
3275
  ],
3276
+ require_children_true=True,
3272
3277
  ),
3273
3278
  org_id="123",
3274
3279
  object_conditions=StandaloneObjectConditions(
@@ -3528,6 +3533,7 @@ with agilicus_api.ApiClient(configuration) as api_client:
3528
3533
  rule_name=StandaloneRuleName("my-rule"),
3529
3534
  ),
3530
3535
  ],
3536
+ require_children_true=True,
3531
3537
  ),
3532
3538
  org_id="123",
3533
3539
  object_conditions=StandaloneObjectConditions(
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **children** | [**[StandaloneRuleTreeNodeChild]**](StandaloneRuleTreeNodeChild.md) | The children of this node. They are evaluated in the order specified by their priority. Each child is itself a tree, evaluated recursively. |
9
9
  **rules** | [**[StandaloneRuleTreeRuleRef]**](StandaloneRuleTreeRuleRef.md) | The references of rules for this node. If each rule in this list evaluates to true, then the children of this node are evaluated. |
10
+ **require_children_true** | **bool** | the default case 'false', if the children to not evaluate to true, the result is still true since the root (rules) was true. However to change this behavior and requiret the children to also be true for the final result to be true, set this property to true. | [optional]
10
11
  **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
11
12
 
12
13
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -83,6 +83,14 @@ class StandaloneRuleTreeNode(ModelNormal):
83
83
  def rules(self, new_value):
84
84
  self.rules = new_value
85
85
 
86
+ @property
87
+ def require_children_true(self):
88
+ return self.get("require_children_true")
89
+
90
+ @require_children_true.setter
91
+ def require_children_true(self, new_value):
92
+ self.require_children_true = new_value
93
+
86
94
  @cached_property
87
95
  def additional_properties_type():
88
96
  """
@@ -108,6 +116,7 @@ class StandaloneRuleTreeNode(ModelNormal):
108
116
  return {
109
117
  'children': ([StandaloneRuleTreeNodeChild],), # noqa: E501
110
118
  'rules': ([StandaloneRuleTreeRuleRef],), # noqa: E501
119
+ 'require_children_true': (bool,), # noqa: E501
111
120
  }
112
121
 
113
122
  @cached_property
@@ -119,6 +128,7 @@ class StandaloneRuleTreeNode(ModelNormal):
119
128
  attribute_map = {
120
129
  'children': 'children', # noqa: E501
121
130
  'rules': 'rules', # noqa: E501
131
+ 'require_children_true': 'require_children_true', # noqa: E501
122
132
  }
123
133
 
124
134
  read_only_vars = {
@@ -166,6 +176,7 @@ class StandaloneRuleTreeNode(ModelNormal):
166
176
  Animal class but this time we won't travel
167
177
  through its discriminator because we passed in
168
178
  _visited_composed_classes = (Animal,)
179
+ require_children_true (bool): the default case 'false', if the children to not evaluate to true, the result is still true since the root (rules) was true. However to change this behavior and requiret the children to also be true for the final result to be true, set this property to true.. [optional] # noqa: E501
169
180
  """
170
181
 
171
182
  _check_type = kwargs.pop('_check_type', True)
@@ -256,6 +267,7 @@ class StandaloneRuleTreeNode(ModelNormal):
256
267
  Animal class but this time we won't travel
257
268
  through its discriminator because we passed in
258
269
  _visited_composed_classes = (Animal,)
270
+ require_children_true (bool): the default case 'false', if the children to not evaluate to true, the result is still true since the root (rules) was true. However to change this behavior and requiret the children to also be true for the final result to be true, set this property to true.. [optional] # noqa: E501
259
271
  """
260
272
 
261
273
  _check_type = kwargs.pop('_check_type', True)
@@ -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.06.06
7
- - Package version: 1.258.8
7
+ - Package version: 1.258.9
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/main.py CHANGED
@@ -421,7 +421,7 @@ def use(ctx, org_id, organisation):
421
421
  for org in org_list:
422
422
  print(
423
423
  f"Organisation: {org.get('organisation')}, "
424
- "Subdomain: {org.get('subdomain')}"
424
+ f"Subdomain: {org.get('subdomain')}"
425
425
  )
426
426
  return
427
427
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: agilicus
3
- Version: 1.258.8
3
+ Version: 1.258.9
4
4
  Summary: Agilicus SDK
5
5
  Home-page: https://www.agilicus.com/
6
6
  License: MIT
@@ -71,9 +71,9 @@ agilicus/agilicus_api/api/users_api.py,sha256=yLAZAl2SON8C5_FZyUL96UDWFEyrfYt_th
71
71
  agilicus/agilicus_api/api/users_api_mock.py,sha256=wA_xiqL3Pz3KjljKlsmf5NveLZS1FpbaKJHBp7QvarY,15411
72
72
  agilicus/agilicus_api/api/whoami_api.py,sha256=XHbgEyONFotQ1X2XAU1E2mN_9Ncs6ki7T9G8LyiIw-Q,7941
73
73
  agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
74
- agilicus/agilicus_api/api_client.py,sha256=r1bkrPAY6fGeg-pldizPDBFgHF-iUjV0CJrtThgncyA,38845
74
+ agilicus/agilicus_api/api_client.py,sha256=66BKZ2BjkgaiftYJ2RmZafJaw2TRnXj7LVfm-W52mbY,38845
75
75
  agilicus/agilicus_api/apis/__init__.py,sha256=aJZD7x-umdSni6ZBr4XxzpH8pwtU9hA5LlCDxcqa1Q8,2224
76
- agilicus/agilicus_api/configuration.py,sha256=9r2g_BhDvprhTZE7v5VOrq-7_MpoRaf7kmL9ELQhRAI,18447
76
+ agilicus/agilicus_api/configuration.py,sha256=nH6hTf2qikUi6ZF4GKB518jEMnKG08FfIoPZqUenTUE,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
@@ -720,7 +720,7 @@ agilicus/agilicus_api/docs/RuleSetComponent.md,sha256=xk2mA069dsggG4uRSKRAYpv45-
720
720
  agilicus/agilicus_api/docs/RuleSetNode.md,sha256=rEktF4HJeKwH52-TkKMwgkOAH1GsyLuRL-gcnfIrc3o,883
721
721
  agilicus/agilicus_api/docs/RuleSpec.md,sha256=cmKB_ksUIuW6okLMS5g3tdGiJwrMtM4-8sxfJXgoOLM,968
722
722
  agilicus/agilicus_api/docs/RuleV2.md,sha256=WKcttrVbzFUtZqqIrS0olNtVPMwytfk6ZxJkP-93cY8,943
723
- agilicus/agilicus_api/docs/RulesApi.md,sha256=g_Sg4wX5A0kiW_xtniKS3OuYirtYryjMlbp2T7N4jaA,160549
723
+ agilicus/agilicus_api/docs/RulesApi.md,sha256=yOJQEfb5eL8DethVMtfswp_3O64os8SP_08WW9y7WH8,160893
724
724
  agilicus/agilicus_api/docs/RulesConfig.md,sha256=1InJwa3YSCzYVwLBObH-27ysP0I2J0qgeU86cPvv6W4,1952
725
725
  agilicus/agilicus_api/docs/RuntimeStatus.md,sha256=TEypz-SIg1oy2YZcuYyMjzTW10OJi87-BBTyBQMuxyw,3687
726
726
  agilicus/agilicus_api/docs/SSHResource.md,sha256=ZFTmdXWOfrXr71MEbS8_uoXql3vMr8qrEp6jS-OPXxI,990
@@ -771,7 +771,7 @@ agilicus/agilicus_api/docs/StandaloneRulePolicySpec.md,sha256=aLKVqn9Q7WW6HwjJ_r
771
771
  agilicus/agilicus_api/docs/StandaloneRuleScope.md,sha256=8M4u9osbQQUpYUX5nUF6kahLu43Nzoy8E8VGttkNsjo,1960
772
772
  agilicus/agilicus_api/docs/StandaloneRuleSpec.md,sha256=lAUd2Km8ApTHngKElmoJUrkMEXyQtqAiuLmhoRt61dI,944
773
773
  agilicus/agilicus_api/docs/StandaloneRuleTree.md,sha256=nIInCcUn-ivP3MG-X-OV7tJ3EbBvdF1L0Qdau4nNOKA,1174
774
- agilicus/agilicus_api/docs/StandaloneRuleTreeNode.md,sha256=h6bANGhgays_m2gpY1ioPBmXHwGyF29N1f645rfO2ps,1425
774
+ agilicus/agilicus_api/docs/StandaloneRuleTreeNode.md,sha256=L6vg5tKNyUfkv5M-KVbaBie1hUbL74PKdOXzcVjwLqU,1745
775
775
  agilicus/agilicus_api/docs/StandaloneRuleTreeNodeChild.md,sha256=slC2mrO7HFQy7gYDuEJYYPq_Mw7UnzupPrqX4VgBY_o,895
776
776
  agilicus/agilicus_api/docs/StandaloneRuleTreeRef.md,sha256=AGsa0D7bjkiPt4a5pPwpOoPSk03NFT0QDmco34uSxJE,844
777
777
  agilicus/agilicus_api/docs/StandaloneRuleTreeRuleRef.md,sha256=xFHKAygnWeVR_nRQ0thtPElujf9oglWkiVXJEGTJl3s,720
@@ -1565,7 +1565,7 @@ agilicus/agilicus_api/model/standalone_rule_policy_spec.py,sha256=Jf4kvjsvA-2SQj
1565
1565
  agilicus/agilicus_api/model/standalone_rule_scope.py,sha256=wGTcb32O-XKNAkv1UUGdfSwjNDuVqfvCZU1Mq6A2ocg,16548
1566
1566
  agilicus/agilicus_api/model/standalone_rule_spec.py,sha256=NyRVq-LxGLW9CP_qP-NHsK47z29NPA1onPUNgCKowtY,15489
1567
1567
  agilicus/agilicus_api/model/standalone_rule_tree.py,sha256=-IgvLVIzezmXEz2MeFz7-70_Ont-haPtxFkp2oNyVTM,14653
1568
- agilicus/agilicus_api/model/standalone_rule_tree_node.py,sha256=u-ZyfwdmdBgsjhOJ2pgBWPocM8ehy7QxGSBDQlynsRI,14826
1568
+ agilicus/agilicus_api/model/standalone_rule_tree_node.py,sha256=uqJaVpQmWzYSiFgsOD-x9-Jxml8CF9gKZc2SWFcSx3s,15841
1569
1569
  agilicus/agilicus_api/model/standalone_rule_tree_node_child.py,sha256=pVB2kqVlJl6zszzXd3RY67Pp6BqLs4g52vSIUVG023M,14257
1570
1570
  agilicus/agilicus_api/model/standalone_rule_tree_ref.py,sha256=pMBMVRA2EoHmXsTjNZhfIaSMl61z_OWD8yfhJSLLqBs,14370
1571
1571
  agilicus/agilicus_api/model/standalone_rule_tree_rule_ref.py,sha256=CgGcbAj9a9CtN2zsfrwy8PjODVMxMaAZBiRWx18OVqs,13652
@@ -2508,7 +2508,7 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=7h6jJDszOS9nkg3x
2508
2508
  agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=eduqxdVo6LmbNfBOLEidxAP9SHRYj6kYOo6mBy_KMzA,2832
2509
2509
  agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=7jWWtzYL6N0hTIfqH3Psy3NFMH0WulPgnRorwphGdIc,2846
2510
2510
  agilicus/agilicus_api/test/test_xss_settings.py,sha256=KHWHiVvdVP2y31GpTpOFFVVTIPS0kETpbS-AK6KoC1A,2746
2511
- agilicus/agilicus_api_README.md,sha256=qrIq2QN8NUJISgrduv8hQIJbtwhBLkd-HmZ6-wUdjK8,160942
2511
+ agilicus/agilicus_api_README.md,sha256=ZTxopD9OUsPpNo4Fjj1Je4uc3BeF9ARH4xwubGwPfPY,160942
2512
2512
  agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
2513
2513
  agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
2514
2514
  agilicus/apps.py,sha256=QMiV9ThED6lqS2l7Jr5Mei7fNBo8FEvPEtCae1NK3Pk,51814
@@ -2558,7 +2558,7 @@ agilicus/labels/labels_main.py,sha256=ptJ34mf-iVaf8ezf3RWLcpeP2O0ntezS4tqJ0ks0el
2558
2558
  agilicus/launchers.py,sha256=r4nctnVtfP-Ho_HXEfAiMaMqJI0u7pbieHSS3Vd0QBE,11361
2559
2559
  agilicus/logs.py,sha256=tS8c_sdre1Dncrl59GVGQ0L3d2jtwlVjvIMl3SHJraY,766
2560
2560
  agilicus/lookups.py,sha256=MNmNsKpP7Fq_poLAnL9xo_iptFilKM9ziGLyIe8VKaw,669
2561
- agilicus/main.py,sha256=03Vb2zqfm4M_4EfYdzFU8VKIrNuzydZe6-5ryY5uySU,269033
2561
+ agilicus/main.py,sha256=TFXBLbHvlZV_LvzQdb0uPEzhG8uUnWWwFTNByf5iYH8,269034
2562
2562
  agilicus/messages.py,sha256=Ydm-VhAsK23UnYdstv_HsOybBODfui5ubKc7F8R_dsw,5187
2563
2563
  agilicus/metrics.py,sha256=v4rwpvqDzeNG5GKNoZ7t34X5qUgly5IW2s-kXlS2vQM,2315
2564
2564
  agilicus/orgs.py,sha256=SPDKJPjZQfqdbNXTIc2Ae5gktEio5Llvs0Bqvh4wFP0,14127
@@ -2599,8 +2599,8 @@ agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4n
2599
2599
  agilicus/users.py,sha256=JT7TIiUOtSFXPOdxmIVFm7ygZTH1FjsIkD9j-vjLuMM,38474
2600
2600
  agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
2601
2601
  agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
2602
- agilicus-1.258.8.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2603
- agilicus-1.258.8.dist-info/METADATA,sha256=cVNseK7_JprBmLsyn9XE1DVjiWaB97kfhucjKaaLudQ,3822
2604
- agilicus-1.258.8.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
2605
- agilicus-1.258.8.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2606
- agilicus-1.258.8.dist-info/RECORD,,
2602
+ agilicus-1.258.9.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2603
+ agilicus-1.258.9.dist-info/METADATA,sha256=lIdxTO6QfFNdRTkR3TQZ3NEwYDpRnbbdaNbbAAXUv6A,3822
2604
+ agilicus-1.258.9.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
2605
+ agilicus-1.258.9.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2606
+ agilicus-1.258.9.dist-info/RECORD,,