Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #54 from dmdhrumilmistry/dev
Browse files Browse the repository at this point in the history
Add OWASP Notice in README
  • Loading branch information
dmdhrumilmistry authored Sep 27, 2023
2 parents 7c56d58 + 4366723 commit 7103b3f
Show file tree
Hide file tree
Showing 5 changed files with 139 additions and 80 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/build-and-push-docker-image-to-dockerhub.yml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/dev-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# name: "Dev Release: Build and Push Docker Image to DockerHub"

# on:
# push:
# branches:
# - "dev"

# jobs:
# push-base-docker-image:
# runs-on: ubuntu-latest
# steps:
# - name: Branch Checkout
# uses: actions/checkout@v2
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Build and push
# uses: docker/build-push-action@v3
# with:
# context: .
# file: ./DockerFiles/base-Dockerfile
# push: true
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/offat-base:dev
# platforms: linux/amd64,linux/arm64

# push-cli-docker-image:
# runs-on: ubuntu-latest
# steps:
# - name: Branch Checkout
# uses: actions/checkout@v2
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Build and push
# uses: docker/build-push-action@v3
# with:
# context: .
# file: ./DockerFiles/cli-Dockerfile
# push: true
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/offat:dev
# platforms: linux/amd64,linux/arm64
64 changes: 32 additions & 32 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
# # This workflow will upload a Python Package using Twine when a release is created
# # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# # This workflow uses actions that are not certified by GitHub.
# # They are provided by a third-party and are governed by
# # separate terms of service, privacy policy, and support
# # documentation.

name: Upload offat Python Package to PyPi
# name: Upload offat Python Package to PyPi

on:
release:
types: [published]
# on:
# release:
# types: [published]

permissions:
contents: read
# permissions:
# contents: read

jobs:
deploy:
# jobs:
# deploy:

runs-on: ubuntu-latest
# runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python
# uses: actions/setup-python@v3
# with:
# python-version: '3.x'
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install build
# - name: Build package
# run: python -m build
# - name: Publish package
# uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
48 changes: 48 additions & 0 deletions .github/workflows/release-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# name: "Build and Push Docker Image to DockerHub"

# on:
# release:
# types: [published]


# jobs:
# push-base-docker-image:
# runs-on: ubuntu-latest
# steps:
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Build and push
# uses: docker/build-push-action@v3
# with:
# platforms: linux/amd64,linux/arm64
# push: true
# file: ./Dockerfiles/base-Dockerfile
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/offat-base:latest


# push-cli-docker-image:
# runs-on: ubuntu-latest
# steps:
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Build and push
# uses: docker/build-push-action@v3
# with:
# platforms: linux/amd64,linux/arm64
# push: true
# file: ./Dockerfiles/cli-Dockerfile
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/offat:latest
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ Automatically Tests for vulnerabilities after generating tests from openapi spec

![UnDocumented petstore API endpoint HTTP method results](./.images/tests/offat-v0.5.0.png)

## Notice

Project proposal has been approved by the OWASP Foundation. As a result, OFFAT will now be taken care of within the OWASP Repository and will go by the name OWASP OFFAT.

For the most up-to-date releases and updates, be sure to check out the OWASP OFFAT Repository at this [link](https://github.com/OWASP/OFFAT).

## Security Checks

- [X] Restricted HTTP Methods
Expand Down

0 comments on commit 7103b3f

Please sign in to comment.