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

ZAP API Scan Report

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

---
ZAP is supported by the [Crash Override Open Source Fellowship](https://crashoverride.com/?zap=act)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked GitHub Actions ZAP report for RunnerID 8854711947 and review the listed alerts, especially the missing security headers and server-error responses at the API root and /v3/api-docs. Reproduce the scan against the reported test endpoint, then confirm that the alerts are resolved and the API returns appropriate responses and headers.

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.