Skip to content

Commit

Permalink
update zaproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Feb 3, 2025
1 parent bf31ba7 commit 0d7e90d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/zaproxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,20 @@ jobs:
python3 wis2box-ctl.py status -a
sleep 30
python3 wis2box-ctl.py status -a
- name: populate stations from CSV 📡
env:
TOPIC_HIERARCHY: mw-mw_met_centre.data.core.weather.surface-based-observations.synop
STATION_METADATA: /data/wis2box/metadata/station/malawi.csv
run: |
python3 wis2box-ctl.py execute wis2box metadata station publish-collection --path $STATION_METADATA --topic-hierarchy $TOPIC_HIERARCHY
- name: add Malawi synop data to the system 🇲🇼
env:
TEST_DATA: /data/wis2box/observations/malawi
TOPIC_HIERARCHY: mw-mw_met_centre.data.core.weather.surface-based-observations.synop
STATION_METADATA: /data/wis2box/metadata/station/malawi.csv
CHANNEL: origin/a/wis2/mw-mw_met_centre/data/core/weather/surface-based-observations/synop
TERRITORY: MWI
DISCOVERY_METADATA: /data/wis2box/metadata/discovery/mw-surface-weather-observations.yml
DISCOVERY_METADATA_ID: urn:wmo:md:mw-mw_met_centre:surface-weather-observations
run: |
python3 wis2box-ctl.py execute wis2box dataset publish $DISCOVERY_METADATA
python3 wis2box-ctl.py execute wis2box metadata station add-topic --territory-name $TERRITORY $CHANNEL
sleep 5
python3 wis2box-ctl.py execute wis2box metadata station publish-collection --path $STATION_METADATA --topic-hierarchy $TOPIC_HIERARCHY
sleep 5
python3 wis2box-ctl.py execute wis2box data ingest -mdi $DISCOVERY_METADATA_ID -p $TEST_DATA
sleep 10
- name: ZAP baseline Scan on UI 🕵️‍♂️
Expand Down

0 comments on commit 0d7e90d

Please sign in to comment.