PaloAltoNetworks / prisma.pan.dev

The home of Developer docs for Prisma by Palo Alto Networks
https://prisma.pan.dev
MIT License
21 stars 38 forks source link

Issue with "policies" in 22_06 docs #253

Closed pan0ptic0n closed 2 years ago

pan0ptic0n commented 2 years ago

Error in Container Policy (and probably other) Docs

https://prisma.pan.dev/api/cloud/cwpp/policies#operation/get-policies-firewall-app-container

Screen Shot 2022-08-26 at 10 30 25 AM

Errors with server specifics and a Stack Trace.

A Stack Trace!! We are a security company and this sort of information absolutely should not bleed.

TypeError: this.description.search is not a function
    at new mn (https://prisma.pan.dev/assets/js/common.f1a889d2.js:41:17055)
    at new Zr (https://prisma.pan.dev/assets/js/common.f1a889d2.js:41:40402)
    at new il (https://prisma.pan.dev/assets/js/common.f1a889d2.js:1217:2803)
    at https://prisma.pan.dev/assets/js/common.f1a889d2.js:118:539
    at Object.Ti [as useMemo] (https://prisma.pan.dev/assets/js/main.03a4108b.js:2:392249)
    at t.useMemo (https://prisma.pan.dev/assets/js/main.03a4108b.js:2:477214)
    at $i (https://prisma.pan.dev/assets/js/common.f1a889d2.js:118:496)
    at li (https://prisma.pan.dev/assets/js/main.03a4108b.js:2:387545)
    at Hi (https://prisma.pan.dev/assets/js/main.03a4108b.js:2:397063)
    at Yc (https://prisma.pan.dev/assets/js/main.03a4108b.js:2:440597)

Suggested fix

  1. Fix underlying problem
  2. Obscure errors: do not offer a stack trace
welcome-to-palo-alto-networks[bot] commented 2 years ago

:tada: Thanks for opening your first issue here! Welcome to the community!

csestito commented 2 years ago

This has been fixed. Please let us know if you see the issue again.