Skip to content

Commit 005a03c

Browse files
committed
addressed bot comment
1 parent 4e7c5e5 commit 005a03c

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

security-center/snippets/management_api/getSecurityCenterService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function main(organizationId, service, location = 'global') {
3232
* `folders/[folderId]/locations/[location]/securityCenterServices/[service]`
3333
* `projects/[projectId]/locations/[location]/securityCenterServices/[service]`
3434
*/
35-
// TODO(developer): Update the following references for your own environment before running the sample.
35+
// TODO(developer): Update the organization ID, location, and service name to match your environment.
3636
// const organizationId = 'YOUR_ORGANIZATION_ID';
3737
// const location = 'LOCATION_ID';
3838
// const service = 'SERVICE';

security-center/snippets/management_api/listSecurityCenterServices.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function main(organizationId, location = 'global') {
3131
* "folders/[folderId]/locations/[location]", or
3232
* "projects/[projectId]/locations/[location]".
3333
*/
34-
//TODO(developer): Update the following references for your own environment before running the sample.
34+
//TODO(developer): Update the organization ID and location to match your environment.
3535
// const organizationId = 'YOUR_ORGANIZATION_ID';
3636
// const location = 'LOCATION_ID';
3737
const parent = `organizations/${organizationId}/locations/${location}`;

security-center/snippets/management_api/updateSecurityCenterService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function main(organizationId, service, location = 'global') {
3232
* `folders/[folderId]/locations/[location]/securityCenterServices/[service]`
3333
* `projects/[projectId]/locations/[location]/securityCenterServices/[service]`
3434
*/
35-
// TODO(developer): Update the following references for your own environment before running the sample.
35+
// TODO(developer): Update the organization ID, location, and service name to match your environment.
3636
// const organizationId = 'YOUR_ORGANIZATION_ID';
3737
// const location = 'LOCATION_ID';
3838
// const service = 'SERVICE';

security-center/snippets/system-test/management_api/securityCenterService.test.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,15 @@ const {execSync} = require('child_process');
1919
const exec = cmd => execSync(cmd, {encoding: 'utf8'});
2020
const {describe, it} = require('mocha');
2121

22-
// TODO(developer): update for your own environment
22+
// TODO(developer): Update the organization ID and service name to match your testing environment
2323
const organizationId = '1081635000895';
24-
const location = 'global';
2524
// Replace service with one of the valid values:
2625
// container-threat-detection, event-threat-detection, security-health-analytics,
2726
// vm-threat-detection, web-security-scanner
2827
const service = 'event_threat_detection';
2928

3029
describe('Security Center Service', async () => {
31-
let data = {
30+
const data = {
3231
orgId: organizationId,
3332
service: service,
3433
};

0 commit comments

Comments
 (0)