bcgov / bcgov/EDUC-STUDENT-DATA-COLLECTION-API

ZAP API Scan Report

Open
#308 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

- Site: [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca)
**New Alerts**
- **Content Security Policy (CSP) Header Not Set** [10038] total: 1:
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/v3/api-docs](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/v3/api-docs)
- **A Server Error response code was returned by the server** [100000] total: 68:
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca)
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/)
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/._darcs](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/._darcs)
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/.bzr](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/.bzr)
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/.DS_Store](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/.DS_Store)
- ..
- **Permissions Policy Header Not Set** [10063] total: 1:
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/v3/api-docs](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/v3/api-docs)
- **Strict-Transport-Security Header Not Set** [10035] total: 1:
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/v3/api-docs](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/v3/api-docs)
- **Unexpected Content-Type was returned** [100001] total: 70:
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca)
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/)
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/._darcs](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/._darcs)
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/.bzr](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/.bzr)
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/.DS_Store](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/.DS_Store)
- ..
- **A Client Error response code was returned by the server** [100000] total: 2:
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca?aaa=bbb](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca?aaa=bbb)
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca?class.module.classLoader.DefaultAssertionStatus=nonsense](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca?class.module.classLoader.DefaultAssertionStatus=nonsense)
- **Non-Storable Content** [10049] total: 1:
- [https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/v3/api-docs](https://student-data-collection-api-d4cdde-test-dev.apps.silver.devops.gov.bc.ca/v3/api-docs)

View the [following link](https://github.com/bcgov/EDUC-STUDENT-DATA-COLLECTION-API/actions/runs/6104215796) to download the report.
RunnerID:6104215796

Contributor guide

No contributing guide indexed for this repository

Research direction

Download and review the ZAP report from GitHub Actions run 6104215796, focusing first on the findings for /v3/api-docs and the listed server and client error responses. Trace those responses to the API entry points, then verify with another ZAP API scan that the reported security headers, content types, and error responses are corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, java
Domain
api, backend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.