Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[instrumentation-fetch] [Research/Discussion] Use msw for fetch (and XHR) instrumentation tests #5282

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Port ignoreUrls tests

c764f0d
Select commit
Loading
Failed to load commit list.
Open

[instrumentation-fetch] [Research/Discussion] Use msw for fetch (and XHR) instrumentation tests #5282

Port ignoreUrls tests
c764f0d
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Dec 25, 2024 in 4s

6 new alerts including 5 critical severity security vulnerabilities

New alerts in code changed by this pull request

Security Alerts:

  • 5 critical
  • 1 high

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 561 in experimental/packages/opentelemetry-instrumentation-fetch/test/fetch.msw.test.ts

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded credentials Critical test

The hard-coded value "Bearer my-token" is used as
authorization header
.

Check failure on line 596 in experimental/packages/opentelemetry-instrumentation-fetch/test/fetch.msw.test.ts

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded credentials Critical test

The hard-coded value "Bearer my-token" is used as
authorization header
.

Check failure on line 672 in experimental/packages/opentelemetry-instrumentation-fetch/test/fetch.msw.test.ts

See this annotation in the file changed.

Code scanning / CodeQL

Incomplete URL substring sanitization High test

'
example.com
' may be followed by an arbitrary host name.

Check failure on line 757 in experimental/packages/opentelemetry-instrumentation-fetch/test/fetch.msw.test.ts

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded credentials Critical test

The hard-coded value "Bearer my-token" is used as
authorization header
.

Check failure on line 773 in experimental/packages/opentelemetry-instrumentation-fetch/test/fetch.msw.test.ts

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded credentials Critical test

The hard-coded value "Bearer my-token" is used as
authorization header
.

Check failure on line 792 in experimental/packages/opentelemetry-instrumentation-fetch/test/fetch.msw.test.ts

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded credentials Critical test

The hard-coded value "Bearer my-token" is used as
authorization header
.