Skip to content

Commit

Permalink
Merge pull request #6 from SoteriaSoftwareLLC/develop
Browse files Browse the repository at this point in the history
add other file types and update the GH workflow
  • Loading branch information
DaleBinghamSoteriaSoft authored Mar 4, 2024
2 parents 9db0992 + 16b1634 commit 134d810
Show file tree
Hide file tree
Showing 9 changed files with 222,087 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
42 changes: 42 additions & 0 deletions .github/workflows/uploadFiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,46 @@ jobs:
for file in ${ALL_CHANGED_MITIGATIONSTATEMENT_FILES}; do
curl -X POST -H "Accept: application/json" -H "Authorization: Bearer ${{ secrets.OPENRMFPRO_API_TOKEN }}" -F "mitigationFile=@$file" ${{ secrets.OPENRMFPRO_API_ROOT_URL }}/api/external/systempackage/${{ secrets.OPENRMFPRO_API_SYSTEMKEY }}/mitigationstatements/\?applicationKey\=${{ secrets.OPENRMFPRO_API_APPLICATIONKEY }}
sleep 0.5
done
- name: Get changed hardware list files
id: changed-hardwarelist-files
uses: tj-actions/changed-files@v42
with:
files: |
hardware/**
- name: Post all Hardware List Files one at a time
env:
ALL_CHANGED_HARDWARELIST_FILES: ${{ steps.changed-hardwarelist-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_HARDWARELIST_FILES}; do
curl -X POST -H "Accept: application/json" -H "Authorization: Bearer ${{ secrets.OPENRMFPRO_API_TOKEN }}" -F "hardwareFile=@$file" ${{ secrets.OPENRMFPRO_API_ROOT_URL }}/api/external/systempackage/${{ secrets.OPENRMFPRO_API_SYSTEMKEY }}/hardware/\?applicationKey\=${{ secrets.OPENRMFPRO_API_APPLICATIONKEY }}
sleep 0.5
done
- name: Get changed software list files
id: changed-softwarelist-files
uses: tj-actions/changed-files@v42
with:
files: |
software/**
- name: Post all Software List Files one at a time
env:
ALL_CHANGED_SOFTWARELIST_FILES: ${{ steps.changed-softwarelist-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_SOFTWARELIST_FILES}; do
curl -X POST -H "Accept: application/json" -H "Authorization: Bearer ${{ secrets.OPENRMFPRO_API_TOKEN }}" -F "softwareFile=@$file" ${{ secrets.OPENRMFPRO_API_ROOT_URL }}/api/external/systempackage/${{ secrets.OPENRMFPRO_API_SYSTEMKEY }}/software/\?applicationKey\=${{ secrets.OPENRMFPRO_API_APPLICATIONKEY }}
sleep 0.5
done
- name: Get changed PPSM list files
id: changed-ppsmlist-files
uses: tj-actions/changed-files@v42
with:
files: |
ppsm/**
- name: Post all PPSM List Files one at a time
env:
ALL_CHANGED_PPSMLIST_FILES: ${{ steps.changed-ppsmlist-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_PPSMLIST_FILES}; do
curl -X POST -H "Accept: application/json" -H "Authorization: Bearer ${{ secrets.OPENRMFPRO_API_TOKEN }}" -F "ppsmFile=@$file" ${{ secrets.OPENRMFPRO_API_ROOT_URL }}/api/external/systempackage/${{ secrets.OPENRMFPRO_API_SYSTEMKEY }}/ppsm/\?applicationKey\=${{ secrets.OPENRMFPRO_API_APPLICATIONKEY }}
sleep 0.5
done
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ src/*.creds
.sonarqube/
sonar-project.txt
# settings for individual development machines
src/.vscode/launch.json
.DS_Store
src/.vscode/launch.json
Binary file added hardware/degthatnetwork-hardwareassetlist.xlsx
Binary file not shown.
87,938 changes: 87,938 additions & 0 deletions patch-scans/20240301-Before-PatchScan.nessus

Large diffs are not rendered by default.

51,216 changes: 51,216 additions & 0 deletions patch-scans/20240301-PatchScanWKS-Done.nessus

Large diffs are not rendered by default.

82,890 changes: 82,890 additions & 0 deletions patch-scans/20240302-PatchScanAll-Except-MSEdge.nessus

Large diffs are not rendered by default.

Binary file added ppsm/degthatnetwork-ppsm.xlsx
Binary file not shown.
Binary file added software/degthatnetwork-softwareassetlist.xlsx
Binary file not shown.

0 comments on commit 134d810

Please sign in to comment.