Skip to content

Commit

Permalink
Yara support
Browse files Browse the repository at this point in the history
  • Loading branch information
vncloudsco authored May 1, 2024
1 parent ceb0a36 commit dbc34b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,8 @@ jobs:
docker buildx create --use
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
cd internal-enrichment/dnstwist && docker buildx build --platform linux/amd64,linux/arm64 -t vouu/dnstwist-dns:30-04-2024 . --push
- name: Build and Push Docker Image for internal-enrichment/yara
run: |
docker buildx create --use
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
cd internal-enrichment/yara && docker buildx build --platform linux/amd64,linux/arm64 -t vouu/internal-yara-dns:30-04-2024 . --push
2 changes: 2 additions & 0 deletions internal-enrichment/intezer-sandbox/src/intezer_sandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ def _process_observable(self, observable):
)

def _process_message(self, data: Dict):
if "opencti_entity_id" not in data:
raise ValueError("Key 'opencti_entity_id' not found in data.")
observable = data["opencti_entity_id"]

# Extract TLP
Expand Down

0 comments on commit dbc34b9

Please sign in to comment.