catocli 1.0.20__py3-none-any.whl → 1.0.21__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.
Potentially problematic release.
This version of catocli might be problematic. Click here for more details.
- catocli/__init__.py +1 -1
- catocli/parsers/custom/__init__.py +1 -1
- catocli/parsers/mutation_admin_addAdmin/README.md +1 -1
- catocli/parsers/mutation_admin_updateAdmin/README.md +1 -1
- catocli/parsers/mutation_policy/__init__.py +348 -0
- catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +1 -1
- catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +1 -1
- catocli/parsers/mutation_policy_socketLan/README.md +7 -0
- catocli/parsers/mutation_policy_socketLan_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_updateSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork/README.md +7 -0
- catocli/parsers/mutation_policy_wanNetwork_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_updateSection/README.md +18 -0
- catocli/parsers/query_eventsFeed/README.md +1 -1
- catocli/parsers/query_policy/README.md +3 -1
- catocli/parsers/query_siteLocation/README.md +1 -1
- {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/METADATA +1 -1
- {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/RECORD +85 -35
- models/mutation.admin.addAdmin.json +0 -60
- models/mutation.admin.updateAdmin.json +0 -57
- models/mutation.policy.internetFirewall.addRule.json +18 -18
- models/mutation.policy.internetFirewall.createPolicyRevision.json +4 -4
- models/mutation.policy.internetFirewall.discardPolicyRevision.json +4 -4
- models/mutation.policy.internetFirewall.moveRule.json +4 -4
- models/mutation.policy.internetFirewall.publishPolicyRevision.json +4 -4
- models/mutation.policy.internetFirewall.removeRule.json +4 -4
- models/mutation.policy.internetFirewall.updatePolicy.json +4 -4
- models/mutation.policy.internetFirewall.updateRule.json +18 -18
- models/mutation.policy.socketLan.addRule.json +11266 -0
- models/mutation.policy.socketLan.addSection.json +1358 -0
- models/mutation.policy.socketLan.createPolicyRevision.json +3926 -0
- models/mutation.policy.socketLan.discardPolicyRevision.json +3860 -0
- models/mutation.policy.socketLan.moveRule.json +3658 -0
- models/mutation.policy.socketLan.moveSection.json +1259 -0
- models/mutation.policy.socketLan.publishPolicyRevision.json +3917 -0
- models/mutation.policy.socketLan.removeRule.json +3306 -0
- models/mutation.policy.socketLan.removeSection.json +958 -0
- models/mutation.policy.socketLan.updatePolicy.json +3936 -0
- models/mutation.policy.socketLan.updateRule.json +10860 -0
- models/mutation.policy.socketLan.updateSection.json +1111 -0
- models/mutation.policy.wanNetwork.addRule.json +30614 -0
- models/mutation.policy.wanNetwork.addSection.json +1358 -0
- models/mutation.policy.wanNetwork.createPolicyRevision.json +8251 -0
- models/mutation.policy.wanNetwork.discardPolicyRevision.json +8185 -0
- models/mutation.policy.wanNetwork.moveRule.json +7983 -0
- models/mutation.policy.wanNetwork.moveSection.json +1259 -0
- models/mutation.policy.wanNetwork.publishPolicyRevision.json +8242 -0
- models/mutation.policy.wanNetwork.removeRule.json +7631 -0
- models/mutation.policy.wanNetwork.removeSection.json +958 -0
- models/mutation.policy.wanNetwork.updatePolicy.json +8261 -0
- models/mutation.policy.wanNetwork.updateRule.json +30145 -0
- models/mutation.policy.wanNetwork.updateSection.json +1111 -0
- models/query.accountMetrics.json +251 -0
- models/query.accountSnapshot.json +188 -0
- models/query.auditFeed.json +60 -0
- models/query.events.json +240 -0
- models/query.eventsFeed.json +60 -0
- models/query.eventsTimeSeries.json +180 -0
- models/query.policy.json +15763 -4176
- models/query.sandbox.json +64 -0
- schema/catolib.py +1 -1
- {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/LICENSE +0 -0
- {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/WHEEL +0 -0
- {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/entry_points.txt +0 -0
- {catocli-1.0.20.dist-info → catocli-1.0.21.dist-info}/top_level.txt +0 -0
models/query.sandbox.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"DateTimeFilterInput": true,
|
|
27
27
|
"PageInfo": true,
|
|
28
28
|
"PagingInput": true,
|
|
29
|
+
"SandboxFailureReason": true,
|
|
29
30
|
"SandboxReport": true,
|
|
30
31
|
"SandboxReportsFilterInput": true,
|
|
31
32
|
"SandboxReportsPayload": true,
|
|
@@ -1735,6 +1736,69 @@
|
|
|
1735
1736
|
},
|
|
1736
1737
|
"varName": "expirationDate"
|
|
1737
1738
|
},
|
|
1739
|
+
"failureReason": {
|
|
1740
|
+
"alias": "sandboxFailureReasonFailureReason: failureReason",
|
|
1741
|
+
"args": {},
|
|
1742
|
+
"deprecationReason": null,
|
|
1743
|
+
"description": " Sandbox analysis failure reason (if any) ",
|
|
1744
|
+
"id_str": "reports___report___failureReason",
|
|
1745
|
+
"isDeprecated": false,
|
|
1746
|
+
"name": "failureReason",
|
|
1747
|
+
"path": "reports.report.failureReason",
|
|
1748
|
+
"requestStr": "$failureReason:SandboxFailureReason ",
|
|
1749
|
+
"required": false,
|
|
1750
|
+
"responseStr": "failureReason:$failureReason ",
|
|
1751
|
+
"type": {
|
|
1752
|
+
"definition": {
|
|
1753
|
+
"description": " Sandbox analysis failure reason ",
|
|
1754
|
+
"enumValues": [
|
|
1755
|
+
{
|
|
1756
|
+
"deprecationReason": null,
|
|
1757
|
+
"description": " Unsupported file type ",
|
|
1758
|
+
"isDeprecated": false,
|
|
1759
|
+
"name": "UNSUPPORTED_FILE_TYPE"
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"deprecationReason": null,
|
|
1763
|
+
"description": " Invalid file size (0 or too large) ",
|
|
1764
|
+
"isDeprecated": false,
|
|
1765
|
+
"name": "INVALID_FILE_SIZE"
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"deprecationReason": null,
|
|
1769
|
+
"description": " Failed to submit file for sandbox analysis ",
|
|
1770
|
+
"isDeprecated": false,
|
|
1771
|
+
"name": "SUBMISSION_ERROR"
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"deprecationReason": null,
|
|
1775
|
+
"description": " Failed to fetch report from sandbox service after 10 minutes ",
|
|
1776
|
+
"isDeprecated": false,
|
|
1777
|
+
"name": "ANALYSIS_TIMEOUT"
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
"deprecationReason": null,
|
|
1781
|
+
"description": " Internal server error ",
|
|
1782
|
+
"isDeprecated": false,
|
|
1783
|
+
"name": "INTERNAL_ERROR"
|
|
1784
|
+
}
|
|
1785
|
+
],
|
|
1786
|
+
"fields": null,
|
|
1787
|
+
"inputFields": null,
|
|
1788
|
+
"interfaces": null,
|
|
1789
|
+
"kind": "ENUM",
|
|
1790
|
+
"name": "SandboxFailureReason",
|
|
1791
|
+
"possibleTypes": null
|
|
1792
|
+
},
|
|
1793
|
+
"indexType": "enum",
|
|
1794
|
+
"kind": [
|
|
1795
|
+
"ENUM"
|
|
1796
|
+
],
|
|
1797
|
+
"name": "SandboxFailureReason",
|
|
1798
|
+
"non_null": false
|
|
1799
|
+
},
|
|
1800
|
+
"varName": "failureReason"
|
|
1801
|
+
},
|
|
1738
1802
|
"fileHash": {
|
|
1739
1803
|
"args": {},
|
|
1740
1804
|
"deprecationReason": null,
|
schema/catolib.py
CHANGED
|
@@ -751,7 +751,7 @@ def writeReadmes(catoApiSchema):
|
|
|
751
751
|
|
|
752
752
|
`catocli query siteLocation '{"filters":[{"search": "Your stateName here","field":"stateName","operation":"endsWith"}]}'`
|
|
753
753
|
|
|
754
|
-
`catocli query siteLocation '{"filters":[{"search": "Your City here","field":"city","operation":"startsWith"},{"search": "Your StateName here","field":"stateName","operation":"endsWith"},{"search": "Your Country here","field":"countryName","operation":"contains"}}'`
|
|
754
|
+
`catocli query siteLocation '{"filters":[{"search": "Your City here","field":"city","operation":"startsWith"},{"search": "Your StateName here","field":"stateName","operation":"endsWith"},{"search": "Your Country here","field":"countryName","operation":"contains"}]}'`
|
|
755
755
|
|
|
756
756
|
#### Operation Arguments for query.siteLocation ####
|
|
757
757
|
`accountID` [ID] - (required) Unique Identifier of Account.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|