Skip to content

Commit 6dca89f

Browse files
authored
Merge pull request #194 from carbonblack/lhilmes-cb-patch-1
Updated readme, edits to PSC copy
2 parents 23abe0f + 4690d9d commit 6dca89f

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ For distinction between credentials of different Carbon Black products, use the
114114
* ``credentials.response`` for CB Response
115115
* ``credentials.protection`` for CB Protection
116116

117-
For example, if you use a PSC product, you should have created a credentials file in one of these locations:
117+
For example, if you use a Carbon Black Cloud product, you should have created a credentials file in one of these locations:
118118

119119
* ``/etc/carbonblack/credentials.psc``
120120
* ``~/.carbonblack/credentials.psc``
@@ -147,7 +147,7 @@ The possible options for each credential profile are:
147147
different tokens for each.
148148
* **ssl_verify**: True or False; controls whether the SSL/TLS certificate presented by the server is validated against
149149
the local trusted CA store.
150-
* **org_key**: The organization key. This is required to access the PSC, and can be found in the console. The format is ``123ABC45``.
150+
* **org_key**: The organization key. This is required to access the Carbon Black Cloud, and can be found in the console. The format is ``123ABC45``.
151151
* **proxy**: A proxy specification that will be used when connecting to the CB server. The format is:
152152
``http://myusername:[email protected]:8001/`` where the hostname of the proxy is ``proxy.company.com``, port
153153
8001, and using username/password ``myusername`` and ``mypassword`` respectively.

bin/cbapi-psc

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def configure(opts):
4040
if not os.path.exists(credential_path):
4141
os.makedirs(credential_path, 0o700)
4242

43-
url = input("URL to the Cb PSC API server (do not include '/integrationServices') [https://hostname]: ")
43+
url = input("URL to the Carbon Black Cloud API server (do not include '/integrationServices') [https://hostname]: ")
4444

4545
ssl_verify = True
4646

docs/getting-started.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Alternatively, if you're using Windows (change ``c:\python27`` if Python is inst
3636
This configuration script will walk you through entering your API credentials and will save them to your current user's
3737
credential file location, which is located in the ``.carbonblack`` directory in your user's home directory.
3838

39-
If using cbapi-psc, you will also be asked to provide an org key. An org key is required to access the PSC, and can be found in the console under Settings -> API Keys.
39+
If using cbapi-psc, you will also be asked to provide an org key. An org key is required to access the Carbon Black Cloud, and can be found in the console under Settings -> API Keys.
4040

4141
Your First Query
4242
----------------

docs/index.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ For distinction between credentials of different Carbon Black products, use the
137137
* ``credentials.response`` for CB Response
138138
* ``credentials.protection`` for CB Protection
139139

140-
For example, if you use a PSC product, you should have created a credentials file in one of these locations:
140+
For example, if you use a Carbon Black Cloud product, you should have created a credentials file in one of these locations:
141141

142142
* ``/etc/carbonblack/credentials.psc``
143143
* ``~/.carbonblack/credentials.psc``
@@ -170,7 +170,7 @@ The possible options for each credential profile are:
170170
different tokens for each.
171171
* **ssl_verify**: True or False; controls whether the SSL/TLS certificate presented by the server is validated against
172172
the local trusted CA store.
173-
* **org_key**: The organization key. This is required to access the PSC, and can be found in the console. The format is ``123ABC45``.
173+
* **org_key**: The organization key. This is required to access the Carbon Black Cloud, and can be found in the console. The format is ``123ABC45``.
174174
* **proxy**: A proxy specification that will be used when connecting to the CB server. The format is:
175175
``http://myusername:[email protected]:8001/`` where the hostname of the proxy is ``proxy.company.com``, port
176176
8001, and using username/password ``myusername`` and ``mypassword`` respectively.
@@ -184,9 +184,9 @@ Environment Variable Support
184184

185185
The latest cbapi for python supports specifying API credentials in the following three environment variables:
186186

187-
`CBAPI_TOKEN` the envar for holding the CbR/CbP api token or the ConnectorId/APIKEY combination for CB Defense/PSC.
187+
`CBAPI_TOKEN` the envar for holding the CbR/CbP api token or the ConnectorId/APIKEY combination for CB Defense/Carbon Black Cloud.
188188

189-
The `CBAPI_URL` envar holds the FQDN of the target, a CbR , CBD, or CbD/PSC server specified just as they are in the
189+
The `CBAPI_URL` envar holds the FQDN of the target, a CbR , CBD, or CbD/Carbon Black Cloud server specified just as they are in the
190190
configuration file format specified above.
191191

192192
The optional `CBAPI_SSL_VERIFY` envar can be used to control SSL validation(True/False or 0/1), which will default to ON when

docs/threathunter-api.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CB ThreatHunter API
44
===================
55

66
This page documents the public interfaces exposed by cbapi when communicating with a
7-
Carbon Black PSC ThreatHunter server.
7+
Carbon Black Cloud ThreatHunter server.
88

99
Main Interface
1010
--------------

src/cbapi/psc/livequery/rest_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
class CbLiveQueryAPI(BaseAPI):
10-
"""The main entry point into the Cb PSC LiveQuery API.
10+
"""The main entry point into the Carbon Black Cloud LiveQuery API.
1111
1212
:param str profile: (optional) Use the credentials in the named profile when connecting to the Carbon Black server.
1313
Uses the profile named 'default' when not specified.

src/cbapi/psc/threathunter/rest_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class CbThreatHunterAPI(BaseAPI):
11-
"""The main entry point into the Cb ThreatHunter PSC API.
11+
"""The main entry point into the Carbon Black Cloud ThreatHunter API.
1212
1313
:param str profile: (optional) Use the credentials in the named profile when connecting to the Carbon Black server.
1414
Uses the profile named 'default' when not specified.

0 commit comments

Comments
 (0)