Skip to content

Commit

Permalink
tmp scm_scan
Browse files Browse the repository at this point in the history
  • Loading branch information
dummygithubaccount committed Jan 24, 2024
1 parent fe973b0 commit 57b85e1
Show file tree
Hide file tree
Showing 3 changed files with 1,004 additions and 4 deletions.
1 change: 1 addition & 0 deletions images/Dockerfile.oxeye-scan
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ RUN rm -rf /var/cache/apk/*
COPY --from=oxctl_builder /app/oxctl /app/

COPY entrypoint-oxeye-scan.sh /entrypoint.sh
COPY scm_scan.py /app/scm_scan.py

ENTRYPOINT ["/entrypoint.sh"]
8 changes: 4 additions & 4 deletions images/entrypoint-oxeye-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ fi
git config --global --add safe.directory "*"

# Download Script
curl -s -o /app/scm_scan.py --location "https://${host}/api/scm/script?provider=${cicd_tool}" \
--header "Content-Type: application/json" \
--header "Accept: application/octet-stream" \
--header "Authorization: Bearer ${bearerToken}"
# curl -s -o /app/scm_scan.py --location "https://${host}/api/scm/script?provider=${cicd_tool}" \
# --header "Content-Type: application/json" \
# --header "Accept: application/octet-stream" \
# --header "Authorization: Bearer ${bearerToken}"

# RUN SCM Scan Script
default_flags="--host $host
Expand Down
Loading

0 comments on commit 57b85e1

Please sign in to comment.