Skip to content

May 19th Zap Scan Results #1720

Open
Open
@alexjanousekGSA

Description

@alexjanousekGSA
  1. Unexpected Content Type Returned with Option Request. text/html is returned instead of No content - Could fix with :

@app.before_request
def handle_options():
if request.method == 'OPTIONS':
response = make_response('', 204)
response.headers['Access-Control-Allow-Origin'] = '*'
response.headers['Access-Control-Allow-Methods'] = 'GET, POST, PUT, DELETE, OPTIONS'
response.headers['Access-Control-Allow-Headers'] = 'Content-Type, Authorization'
return response

  1. Timestamp being returned in openapi endpoint - This is a false positive (its actually a phone number) and is currently being fixed in PR.
  2. Add appropriate HTTP headers to some status endpoints to control caching behavior. (could be a false positive?)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions