-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0604c8f
commit ed15a09
Showing
57 changed files
with
127 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: AuditBuddy CI | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
docker: | ||
image: docker:20.10.7 | ||
options: --privileged | ||
ports: | ||
- 2375:2375 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Build and push framework service | ||
run: docker build -t framework_service:latest ./services/framework | ||
|
||
- name: Build and push providers service | ||
run: docker build -t providers_service:latest ./services/providers | ||
|
||
- name: Build and push utils service | ||
run: docker build -t utils_service:latest ./services/utils | ||
|
||
- name: Run Docker Compose | ||
run: docker-compose up --abort-on-container-exit |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
framework: | ||
name: "SOC 2" | ||
controls: | ||
- control: "Access Control" | ||
evidence_type: "Populations" | ||
- control: "Configuration Management" | ||
evidence_type: "Configurations" | ||
providers: | ||
aws: | ||
enabled: true | ||
region: "us-east-1" | ||
services: | ||
- name: "IAM" | ||
- name: "S3" | ||
azure: | ||
enabled: false | ||
gcp: | ||
enabled: false | ||
okta: | ||
enabled: false | ||
secrets: | ||
aws_access_key: ${AWS_ACCESS_KEY} | ||
aws_secret_key: ${AWS_SECRET_KEY} | ||
okta_token: ${OKTA_TOKEN} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
version: '3.8' | ||
|
||
services: | ||
framework: | ||
build: ./services/framework | ||
container_name: framework_service | ||
volumes: | ||
- ./services/framework:/app | ||
depends_on: | ||
- providers | ||
- utils | ||
environment: | ||
- CONFIG_FILE=/app/config.yaml | ||
|
||
providers: | ||
build: ./services/providers | ||
container_name: providers_service | ||
volumes: | ||
- ./services/providers:/app | ||
environment: | ||
- CONFIG_FILE=/app/config.yaml | ||
|
||
utils: | ||
build: ./services/utils | ||
container_name: utils_service | ||
volumes: | ||
- ./services/utils:/app | ||
environment: | ||
- CONFIG_FILE=/app/config.yaml | ||
|
||
# Additional service configurations can be added here |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM python:3.9-slim | ||
|
||
WORKDIR /app | ||
|
||
COPY requirements.txt . | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY soc2.py iso27001.py mappings.py ./ | ||
|
||
CMD ["python", "soc2.py"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pandas | ||
PyYAML |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM python:3.9-slim | ||
|
||
WORKDIR /app | ||
|
||
COPY requirements.txt . | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY aws.py azure.py gcp.py okta.py ./ | ||
|
||
CMD ["python", "aws.py"] # Replace with the actual entry point |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
boto3 | ||
azure | ||
google-cloud | ||
okta |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM python:3.9-slim | ||
|
||
WORKDIR /app | ||
|
||
COPY requirements.txt . | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY auth.py format.py git.py ./ | ||
|
||
CMD ["python", "auth.py"] # Replace with the actual entry point |
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
requests | ||
PyYAML |