Delete .github/workflows/github_actions_security.yml #30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Network Scan Workflow | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 # Set the timeout to 30 minutes (or any value you prefer) | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Generate result file | |
| run: | | |
| sudo -E bash -x nmap-json.sh | |
| env: | |
| ENDPOINTS: ${{ vars.ENDPOINTS }} | |
| - name: Upload ZIP to S3 | |
| uses: NotCoffee418/s3-zip-upload@v1.4 | |
| env: | |
| AWS_SECRET_ID: ${{ secrets.AWS_SECRET_ID }} | |
| AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }} | |
| BUCKET_NAME: ${{ secrets.BUCKET_NAME }} | |
| AWS_REGION: us-east-1 | |
| SOURCE_MODE: ZIP | |
| SOURCE_PATH: /home/nmap/result/ | |
| DEST_FILE: nmap.zip |