diff --git a/detect/v2/run_retrohunt_and_wait_test.py b/detect/v2/run_retrohunt_and_wait_test.py index b5e2839..fb667c9 100644 --- a/detect/v2/run_retrohunt_and_wait_test.py +++ b/detect/v2/run_retrohunt_and_wait_test.py @@ -134,7 +134,7 @@ def test_retrohunt_not_complete(self, mock_response, mock_session): "0.0", } - # We'll call run_retrohunt_and_wait with sleep_secounds=2, + # We'll call run_retrohunt_and_wait with sleep_seconds=2, # timeout_minutes 0.05(=3sec). With this setup, we make 2 GetRetrohunt calls # and exit the loop. # Flow in the loop will be: sleep 2sec -> call GetRetrohunt -> @@ -146,7 +146,7 @@ def test_retrohunt_not_complete(self, mock_response, mock_session): running_rh3 = running_rh.copy() running_rh3["progressPercentage"] = "20.0" - # Order of reponses + # Order of responses # 1. RunRetrohunt # 2. 1st call for GetRetrohunt # 3. 2nd call for GetRetrohunt diff --git a/detect/v2/stream_detection_alerts.py b/detect/v2/stream_detection_alerts.py index 44201ab..bf0cd41 100644 --- a/detect/v2/stream_detection_alerts.py +++ b/detect/v2/stream_detection_alerts.py @@ -125,7 +125,7 @@ def parse_stream( yield { "error": { "code": 500, - "status": "UNAVAILBLE", + "status": "UNAVAILABLE", "message": "exception caught while reading stream response (your " "streaming client should retry connection): {}".format( repr(e)), diff --git a/ingestion/create_entities.py b/ingestion/create_entities.py index cf5b74a..1b2f39a 100644 --- a/ingestion/create_entities.py +++ b/ingestion/create_entities.py @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# TODO(b/193595445): Add documentation link for enetity format once it's done. +# TODO(b/193595445): Add documentation link for entity format once it's done. r"""Executable and reusable sample for ingesting entities. WARNING: This script makes use of the Ingestion API V2. V2 is currently only in diff --git a/ingestion/create_udm_events.py b/ingestion/create_udm_events.py index 07de634..bd2ac46 100644 --- a/ingestion/create_udm_events.py +++ b/ingestion/create_udm_events.py @@ -32,7 +32,7 @@ ./example_input/sample_udm_events.json for an example. So, assuming you've created a credentials file at ~/.chronicle_credentials.json, -you can run this command using the sample imput like so: +you can run this command using the sample input like so: $ create_udm_events --customer_id= \ --json_events_file=./example_input/sample_udm_events.json diff --git a/ingestion/create_unstructured_log_entries.py b/ingestion/create_unstructured_log_entries.py index 1719e2b..fc02d23 100644 --- a/ingestion/create_unstructured_log_entries.py +++ b/ingestion/create_unstructured_log_entries.py @@ -26,7 +26,7 @@ log for the BIND_DNS log type. So, assuming you're created a credentials file at ~/.chronicle_credentials.json, -you can run this command using the sample imput like so: +you can run this command using the sample input like so: $ create_unstructured_log_entries --customer_id= \ --log_type=BIND_DNS \ diff --git a/service_management/README.md b/service_management/README.md index b369299..dfeb921 100644 --- a/service_management/README.md +++ b/service_management/README.md @@ -10,7 +10,7 @@ to authenticate a service account under your GCP organization. ### Environment Variables Setup 1. Go to the Google Cloud Console. -2. Activate Cloud Chell. +2. Activate Cloud Shell. 3. Set environment variables by running: a. Set your organization name: ```