File tree Expand file tree Collapse file tree 3 files changed +58
-0
lines changed
src/main/java/gov/epa/ccte/api/exposure/projection Expand file tree Collapse file tree 3 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Application-security-scan
2+
3+ on :
4+ push :
5+ branches : [ "dev", "staging" ]
6+
7+ jobs :
8+ security-scan :
9+ runs-on : ubuntu-latest
10+ steps :
11+
12+ - name : Set up "x-api-key" as an environment variable
13+ run : |
14+ echo "x-api-key=${{ secrets.X_API_KEY }}" >> $GITHUB_ENV
15+
16+ - name : perform passive scan
17+ 18+ with :
19+ token : ${{ secrets.GITHUB_TOKEN }}
20+ format : openapi
21+ target : ' https://api-ccte-stg.epa.gov/docs/exposure.json'
22+ cmd_options : ' -a'
23+ env :
24+ ZAP_AUTH_HEADER_VALUE : " x-api-key=${{ secrets.X_API_KEY }}"
Original file line number Diff line number Diff line change 1+ package gov .epa .ccte .api .exposure .projection ;
2+
3+ /**
4+ * Projection for {@link gov.epa.ccte.api.exposure.domain.FunctionalUse}
5+ */
6+ public interface FunctionalUseAll {
7+ Long getId ();
8+
9+ String getDtxsid ();
10+
11+ String getDatatype ();
12+
13+ Integer getDocid ();
14+
15+ String getDoctitle ();
16+
17+ String getDocdate ();
18+
19+ String getReportedfunction ();
20+
21+ String getFunctioncategory ();
22+ }
Original file line number Diff line number Diff line change 1+ package gov .epa .ccte .api .exposure .projection ;
2+
3+ /**
4+ * Projection for {@link gov.epa.ccte.api.exposure.domain.FunctionalUseCategory}
5+ */
6+ public interface FunctionalUseCategoryAll {
7+ Integer getId ();
8+
9+ String getTitle ();
10+
11+ String getDescription ();
12+ }
You can’t perform that action at this time.
0 commit comments