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

ZAP API Scan Report

Open
#480 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/8070094353) to download the report.
RunnerID:8070094353

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by downloading the ZAP report from Actions run 8070094353 and reviewing the listed responses for the API root and /v3/api-docs endpoints. Trace the server configuration and error handling responsible for the missing headers, server errors, and unexpected content types. Done means addressing the applicable findings and rerunning the ZAP API scan to confirm the alerts are resolved.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.