Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Jul 4, 2024
1 parent 14a4e6b commit 2d0ff1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ jest.mock('dns');

import * as dns from 'dns';
import { EventEmitter } from 'events';
import * as fs from 'fs';
import * as path from 'path';
import { PubSub } from '@google-cloud/pubsub';
import * as http2 from 'http2';
import * as nock from 'nock';
Expand Down Expand Up @@ -125,10 +123,8 @@ describe('GoogleCloudGrpc tracing', () => {
const pubsub = new PubSub({

Check warning on line 123 in packages/google-cloud-serverless/test/integrations/google-cloud-grpc.test.ts

View workflow job for this annotation

GitHub Actions / Secret Scan

Found verified PrivateKey result πŸ·πŸ”‘
credentials: {
client_email: 'client@email',

Check warning on line 125 in packages/google-cloud-serverless/test/integrations/google-cloud-grpc.test.ts

View workflow job for this annotation

GitHub Actions / Secret Scan

Found verified PrivateKey result πŸ·πŸ”‘
private_key: Buffer.from(
'LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlDWFFJQkFBS0JnUUR6VStqTFR6VzYxNTRKb2V6eHJkMis1cENOWVAwSGNhTW9ZcUV5WGZOUnBrTkU3d3JRClVFRzgzMG80UWNhYWUyQmhxWm91andTVzdSa1I2aDBGa2QwV1RSOGg1SjhyU0dOSHYvMWpKb1VValA5aVovNVMKRkF5SUl5RVlmRFBxdG5BNGlGMVFXTzJsWFdsRUZTdVpqd00vOGpCbWVHem9pdzE3YWtOVGhJdzhOd0lEQVFBQgpBb0dBVHBib1Zsb0VBWS9JZEZYL1FHT21maFRiMVQzaEczbGhlQmE2OTVpT2tPMkJSbzlxVDdQTU42TnF4bGJBClBYN2h0MGxmQ2ZDWlMrSFNPZzRDUjUwLzZXWEhNU213bHZjakd1RElES1dqdmlRVFRZRTc3TWxWQlFIdzlXelkKUGZpUkJidG91eVBHUXRPNHJrNDJ6a0lJT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touyPGQtO4rk42zkIILC6exBZ1vKpRPOmTAnxrjCECQQD+56r6hYcS6GNp\nNOWyv0eVFMBX4iNWAsRf9JVVvGDz2rVuhnkNiN73vfffDWvSXkCydL1jFmalgdQD\ngm77UZQHAkEA9F+CauU0aZsJ1SthQ6H0sDQ+eNRUgnz4itnkSC2C20fZ3DaSpCMC\n0go81CcZOhftNO730ILqiS67C3d3rqLqUQJBAP10ROHMmz4Fq7MUUcClyPtHIuk/\nhXskTTZL76DMKmrN8NDxDLSUf38+eJRkt+z4osPOp/E6eN3gdXr32nox50kCQCl8\nhXGMU+eR0IuF/88xkY7Qb8KnmWlFuhQohZ7TSyHbAttl0GNZJkNuRYFm2duI8FZK\nM3wMnbCIZGy/7WuScOECQQCV+0yrf5dL1M2GHjJfwuTb00wRKalKQEH1v/kvE5vS\nFmdN7BPK5Ra50MaecMNoYqu9rmtyWRBn93dcvKrL57nY\n-----END RSA PRIVATE KEY-----\n', // trufflehog:ignore,
},
projectId: 'project-id',

Check warning on line 129 in packages/google-cloud-serverless/test/integrations/google-cloud-grpc.test.ts

View workflow job for this annotation

GitHub Actions / Secret Scan

Found verified PrivateKey result with BASE64 encoding πŸ·πŸ”‘
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import * as fs from 'fs';
import * as path from 'path';
import { BigQuery } from '@google-cloud/bigquery';
import * as nock from 'nock';

Expand Down Expand Up @@ -50,10 +48,8 @@ describe('GoogleCloudHttp tracing', () => {
const bigquery = new BigQuery({

Check warning on line 48 in packages/google-cloud-serverless/test/integrations/google-cloud-http.test.ts

View workflow job for this annotation

GitHub Actions / Secret Scan

Found verified PrivateKey result πŸ·πŸ”‘
credentials: {
client_email: 'client@email',

Check warning on line 50 in packages/google-cloud-serverless/test/integrations/google-cloud-http.test.ts

View workflow job for this annotation

GitHub Actions / Secret Scan

Found verified PrivateKey result πŸ·πŸ”‘
private_key: Buffer.from(
'LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktL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SYTUwTWFlY01Ob1lxdTlybXR5V1JCbjkzZGN2S3JMNTduWQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=',
'base64',
).toString('utf-8'),
private_key:
'-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQDzU+jLTzW6154Joezxrd2+5pCNYP0HcaMoYqEyXfNRpkNE7wrQ\nUEG830o4Qcaae2BhqZoujwSW7RkR6h0Fkd0WTR8h5J8rSGNHv/1jJoUUjP9iZ/5S\nFAyIIyEYfDPqtnA4iF1QWO2lXWlEFSuZjwM/8jBmeGzoiw17akNThIw8NwIDAQAB\nAoGATpboVloEAY/IdFX/QGOmfhTb1T3hG3lheBa695iOkO2BRo9qT7PMN6NqxlbA\nPX7ht0lfCfCZS+HSOg4CR50/6WXHMSmwlvcjGuDIDKWjviQTTYE77MlVBQHw9WzY\nPfiRBbtouyPGQtO4rk42zkIILC6exBZ1vKpRPOmTAnxrjCECQQD+56r6hYcS6GNp\nNOWyv0eVFMBX4iNWAsRf9JVVvGDz2rVuhnkNiN73vfffDWvSXkCydL1jFmalgdQD\ngm77UZQHAkEA9F+CauU0aZsJ1SthQ6H0sDQ+eNRUgnz4itnkSC2C20fZ3DaSpCMC\n0go81CcZOhftNO730ILqiS67C3d3rqLqUQJBAP10ROHMmz4Fq7MUUcClyPtHIuk/\nhXskTTZL76DMKmrN8NDxDLSUf38+eJRkt+z4osPOp/E6eN3gdXr32nox50kCQCl8\nhXGMU+eR0IuF/88xkY7Qb8KnmWlFuhQohZ7TSyHbAttl0GNZJkNuRYFm2duI8FZK\nM3wMnbCIZGy/7WuScOECQQCV+0yrf5dL1M2GHjJfwuTb00wRKalKQEH1v/kvE5vS\nFmdN7BPK5Ra50MaecMNoYqu9rmtyWRBn93dcvKrL57nY\n-----END RSA PRIVATE KEY-----\n', // trufflehog:ignore,
},
projectId: 'project-id',

Check warning on line 54 in packages/google-cloud-serverless/test/integrations/google-cloud-http.test.ts

View workflow job for this annotation

GitHub Actions / Secret Scan

Found verified PrivateKey result with BASE64 encoding πŸ·πŸ”‘
});
Expand Down

0 comments on commit 2d0ff1b

Please sign in to comment.