prelude-cli-beta 1471__tar.gz → 1473__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.
- {prelude_cli_beta-1471/prelude_cli_beta.egg-info → prelude_cli_beta-1473}/PKG-INFO +2 -2
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/views/scm.py +46 -8
- {prelude_cli_beta-1471 → prelude_cli_beta-1473/prelude_cli_beta.egg-info}/PKG-INFO +2 -2
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta.egg-info/requires.txt +1 -1
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/setup.cfg +2 -2
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/LICENSE +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/MANIFEST.in +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/README.md +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/__init__.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/cli.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/templates/__init__.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/views/__init__.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/views/auth.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/views/build.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/views/configure.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/views/detect.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/views/generate.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/views/iam.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/views/jobs.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/views/partner.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta/views/shared.py +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta.egg-info/SOURCES.txt +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta.egg-info/dependency_links.txt +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta.egg-info/entry_points.txt +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta.egg-info/top_level.txt +0 -0
- {prelude_cli_beta-1471 → prelude_cli_beta-1473}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: prelude-cli-beta
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1473
|
|
4
4
|
Summary: For interacting with the Prelude SDK
|
|
5
5
|
Home-page: https://github.com/preludeorg
|
|
6
6
|
Author: Prelude Research
|
|
@@ -11,7 +11,7 @@ Classifier: Operating System :: OS Independent
|
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
-
Requires-Dist: prelude-sdk-beta==
|
|
14
|
+
Requires-Dist: prelude-sdk-beta==1473
|
|
15
15
|
Requires-Dist: click>8
|
|
16
16
|
Requires-Dist: rich
|
|
17
17
|
Requires-Dist: python-dateutil
|
|
@@ -28,15 +28,23 @@ def scm(ctx):
|
|
|
28
28
|
@click.option(
|
|
29
29
|
"--limit", default=100, help="maximum number of results to return", type=int
|
|
30
30
|
)
|
|
31
|
+
@click.option("--offset", default=0, help="number of results to skip", type=int)
|
|
32
|
+
@click.option(
|
|
33
|
+
"--odata_select", help="OData select string to specify which fields to return"
|
|
34
|
+
)
|
|
31
35
|
@click.option("--odata_filter", help="OData filter string")
|
|
32
36
|
@click.option("--odata_orderby", help="OData orderby string")
|
|
33
37
|
@click.pass_obj
|
|
34
38
|
@pretty_print
|
|
35
|
-
def endpoints(controller, limit, odata_filter, odata_orderby):
|
|
39
|
+
def endpoints(controller, limit, offset, odata_select, odata_filter, odata_orderby):
|
|
36
40
|
"""List endpoints with SCM data"""
|
|
37
41
|
with Spinner(description="Fetching endpoints from partner"):
|
|
38
42
|
return controller.endpoints(
|
|
39
|
-
|
|
43
|
+
select=odata_select,
|
|
44
|
+
filter=odata_filter,
|
|
45
|
+
orderby=odata_orderby,
|
|
46
|
+
top=limit,
|
|
47
|
+
skip=offset,
|
|
40
48
|
)
|
|
41
49
|
|
|
42
50
|
|
|
@@ -44,29 +52,49 @@ def endpoints(controller, limit, odata_filter, odata_orderby):
|
|
|
44
52
|
@click.option(
|
|
45
53
|
"--limit", default=100, help="maximum number of results to return", type=int
|
|
46
54
|
)
|
|
55
|
+
@click.option("--offset", default=0, help="number of results to skip", type=int)
|
|
56
|
+
@click.option(
|
|
57
|
+
"--odata_select", help="OData select string to specify which fields to return"
|
|
58
|
+
)
|
|
47
59
|
@click.option("--odata_filter", help="OData filter string")
|
|
48
60
|
@click.option("--odata_orderby", help="OData orderby string")
|
|
49
61
|
@click.pass_obj
|
|
50
62
|
@pretty_print
|
|
51
|
-
def inboxes(controller, limit, odata_filter, odata_orderby):
|
|
63
|
+
def inboxes(controller, limit, offset, odata_select, odata_filter, odata_orderby):
|
|
52
64
|
"""List inboxes with SCM data"""
|
|
53
65
|
with Spinner(description="Fetching inboxes from partner"):
|
|
54
|
-
return controller.inboxes(
|
|
66
|
+
return controller.inboxes(
|
|
67
|
+
select=odata_select,
|
|
68
|
+
filter=odata_filter,
|
|
69
|
+
orderby=odata_orderby,
|
|
70
|
+
top=limit,
|
|
71
|
+
skip=offset,
|
|
72
|
+
)
|
|
55
73
|
|
|
56
74
|
|
|
57
75
|
@scm.command("network_devices")
|
|
58
76
|
@click.option(
|
|
59
77
|
"--limit", default=100, help="maximum number of results to return", type=int
|
|
60
78
|
)
|
|
79
|
+
@click.option("--offset", default=0, help="number of results to skip", type=int)
|
|
80
|
+
@click.option(
|
|
81
|
+
"--odata_select", help="OData select string to specify which fields to return"
|
|
82
|
+
)
|
|
61
83
|
@click.option("--odata_filter", help="OData filter string")
|
|
62
84
|
@click.option("--odata_orderby", help="OData orderby string")
|
|
63
85
|
@click.pass_obj
|
|
64
86
|
@pretty_print
|
|
65
|
-
def network_devices(
|
|
87
|
+
def network_devices(
|
|
88
|
+
controller, limit, offset, odata_select, odata_filter, odata_orderby
|
|
89
|
+
):
|
|
66
90
|
"""List network devices with SCM data"""
|
|
67
91
|
with Spinner(description="Fetching network devices from partner"):
|
|
68
92
|
return controller.network_devices(
|
|
69
|
-
|
|
93
|
+
select=odata_select,
|
|
94
|
+
filter=odata_filter,
|
|
95
|
+
orderby=odata_orderby,
|
|
96
|
+
top=limit,
|
|
97
|
+
skip=offset,
|
|
70
98
|
)
|
|
71
99
|
|
|
72
100
|
|
|
@@ -74,14 +102,24 @@ def network_devices(controller, limit, odata_filter, odata_orderby):
|
|
|
74
102
|
@click.option(
|
|
75
103
|
"--limit", default=100, help="maximum number of results to return", type=int
|
|
76
104
|
)
|
|
105
|
+
@click.option("--offset", default=0, help="number of results to skip", type=int)
|
|
106
|
+
@click.option(
|
|
107
|
+
"--odata_select", help="OData select string to specify which fields to return"
|
|
108
|
+
)
|
|
77
109
|
@click.option("--odata_filter", help="OData filter string")
|
|
78
110
|
@click.option("--odata_orderby", help="OData orderby string")
|
|
79
111
|
@click.pass_obj
|
|
80
112
|
@pretty_print
|
|
81
|
-
def users(controller, limit, odata_filter, odata_orderby):
|
|
113
|
+
def users(controller, limit, offset, odata_select, odata_filter, odata_orderby):
|
|
82
114
|
"""List users with SCM data"""
|
|
83
115
|
with Spinner(description="Fetching users from partner"):
|
|
84
|
-
return controller.users(
|
|
116
|
+
return controller.users(
|
|
117
|
+
select=odata_select,
|
|
118
|
+
filter=odata_filter,
|
|
119
|
+
orderby=odata_orderby,
|
|
120
|
+
top=limit,
|
|
121
|
+
skip=offset,
|
|
122
|
+
)
|
|
85
123
|
|
|
86
124
|
|
|
87
125
|
@scm.command("technique-summary")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: prelude-cli-beta
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1473
|
|
4
4
|
Summary: For interacting with the Prelude SDK
|
|
5
5
|
Home-page: https://github.com/preludeorg
|
|
6
6
|
Author: Prelude Research
|
|
@@ -11,7 +11,7 @@ Classifier: Operating System :: OS Independent
|
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
-
Requires-Dist: prelude-sdk-beta==
|
|
14
|
+
Requires-Dist: prelude-sdk-beta==1473
|
|
15
15
|
Requires-Dist: click>8
|
|
16
16
|
Requires-Dist: rich
|
|
17
17
|
Requires-Dist: python-dateutil
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = prelude-cli-beta
|
|
3
|
-
version =
|
|
3
|
+
version = 1473
|
|
4
4
|
author = Prelude Research
|
|
5
5
|
author_email = support@preludesecurity.com
|
|
6
6
|
description = For interacting with the Prelude SDK
|
|
@@ -17,7 +17,7 @@ packages = find:
|
|
|
17
17
|
include_package_data = True
|
|
18
18
|
python_requires = >=3.10
|
|
19
19
|
install_requires =
|
|
20
|
-
prelude-sdk-beta ==
|
|
20
|
+
prelude-sdk-beta == 1473
|
|
21
21
|
click > 8
|
|
22
22
|
rich
|
|
23
23
|
python-dateutil
|
|
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
|
{prelude_cli_beta-1471 → prelude_cli_beta-1473}/prelude_cli_beta.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|