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

ZAP API Scan Report

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the ZAP API Scan report from action run 6015681797 and reproduce the findings against the reported API root and /v3/api-docs endpoints. Review how these endpoints respond to the listed security probes and determine what changes are needed for the missing headers, server errors, unexpected content types, and non-storable content. Done means the relevant ZAP alerts no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, 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.