Skip to content

Commit 59ddafa

Browse files
authored
Merge pull request #153 from USEPA/staging
Staging
2 parents f5e2e3a + e4f15af commit 59ddafa

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
uses: zaproxy/[email protected]
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 }}"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
}

0 commit comments

Comments
 (0)