bcgov / bcgov/nr-forest-client-api

ZAP: API

Open
#610 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
7
Forks
1
Avg merge
7h 39m
Merged PRs (30d)
10

Description

- Site: [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca)
**New Alerts**
- **Content Security Policy (CSP) Header Not Set** [10038] total: 4:
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml)
- **Permissions Policy Header Not Set** [10063] total: 4:
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml)
- **Strict-Transport-Security Header Not Set** [10035] total: 4:
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml)
- **Non-Storable Content** [10049] total: 4:
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml)
- **Sec-Fetch-Dest Header is Missing** [90005] total: 4:
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml)
- **Sec-Fetch-Mode Header is Missing** [90005] total: 4:
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml)
- **Sec-Fetch-Site Header is Missing** [90005] total: 4:
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml)
- **Sec-Fetch-User Header is Missing** [90005] total: 4:
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/robots.txt)
- [https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml](https://nr-forest-client-api-test-backend.apps.silver.devops.gov.bc.ca/sitemap.xml)

View the [following link](https://github.com/bcgov/nr-forest-client-api/actions/runs/28704833919) to download the report.
RunnerID:28704833919

---
[ZAP by Checkmarx](https://checkmarx.com/)

Contributor guide

Open the contributing guide

Research direction

Start with the linked GitHub Actions ZAP report and inspect the API responses for the listed missing headers. Determine where the Java API configures response headers, then rerun the scan and confirm the CSP, Permissions-Policy, Strict-Transport-Security, Non-Storable Content, and Sec-Fetch findings are addressed.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.