Skip to content

Commit

Permalink
Merge pull request #1783 from akto-api-security/threat-detection-v1
Browse files Browse the repository at this point in the history
Threat detection
  • Loading branch information
ayushaga14 authored Jan 27, 2025
2 parents b85a7b8 + 49ebc58 commit 73d095e
Show file tree
Hide file tree
Showing 57 changed files with 6,567 additions and 468 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
type: boolean
default: true
description: Internal
threat_detection:
type: boolean
default: true
description: Threat Detection Client

threat_detection_backend:
type: boolean
default: true
Expand Down Expand Up @@ -132,6 +137,11 @@ jobs:
echo "::set-output name=image::$ECR_REGISTRY/akto-internal:$IMAGE_TAG"
fi
if [[ "${{ github.event.inputs.threat_detection}}" == "true" ]]; then
cd ../threat-detection
docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/akto-threat-detection:$IMAGE_TAG_1 -t $ECR_REGISTRY/akto-threat-detection:$IMAGE_TAG_2 . --push
fi
if [[ "${{ github.event.inputs.threat_detection_backend}}" == "true" ]]; then
cd ../threat-detection-backend
docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/akto-threat-detection-backend:$IMAGE_TAG_1 -t $ECR_REGISTRY/akto-threat-detection-backend:$IMAGE_TAG_2 . --push
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ jobs:
docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/akto-internal:$IMAGE_TAG . --push
cd ../source-code-analyser
docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/source-code-analyser:$IMAGE_TAG . --push
cd ../threat-detection
docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/akto-threat-detection:$IMAGE_TAG . --push
cd ../threat-detection-backend
docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/akto-threat-detection-backend:$IMAGE_TAG . --push
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ build: proto-gen
mvn install -DskipTests

build-clean: proto-gen
mvn clean install -DskipTests
mvn clean install -DskipTests
9 changes: 0 additions & 9 deletions apps/api-threat-detection/Dockerfile

This file was deleted.

190 changes: 0 additions & 190 deletions apps/api-threat-detection/pom.xml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 73d095e

Please sign in to comment.