File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Device objects, which can be used to locate a list of Devices.
27
27
*Example: *
28
28
29
29
>>> cbapi = CbPSCBaseAPI(... )
30
- >>> devices = cbapi.select(Device).os (" LINUX" ).status(" ALL" )
30
+ >>> devices = cbapi.select(Device).set_os (" LINUX" ).status(" ALL" )
31
31
32
32
Selects all devices running Linux from the current organization.
33
33
@@ -59,7 +59,7 @@ search for more specialized alert types:
59
59
*Example: *
60
60
61
61
>>> cbapi = CbPSCBaseAPI(... )
62
- >>> alerts = cbapi.select(BaseAlert).device_os ([" WINDOWS" ]).process_name ([" IEXPLORE.EXE" ])
62
+ >>> alerts = cbapi.select(BaseAlert).set_device_os ([" WINDOWS" ]).set_process_name ([" IEXPLORE.EXE" ])
63
63
64
64
Selects all alerts on a Windows device running the Internet Explorer process.
65
65
@@ -73,7 +73,7 @@ finished.
73
73
*Example: *
74
74
75
75
>>> cbapi = CbPSCBaseAPI(... )
76
- >>> query = cbapi.select(BaseAlert).process_name ([" IEXPLORE.EXE" ])
76
+ >>> query = cbapi.select(BaseAlert).set_process_name ([" IEXPLORE.EXE" ])
77
77
>>> reqid = query.dismiss(" Using Chrome" )
78
78
>>> stat = cbapi.select(WorkflowStatus, reqid)
79
79
>>> while not stat.finished:
You can’t perform that action at this time.
0 commit comments