Skip to content

Commit

Permalink
new image: vendors-sdk (#19658)
Browse files Browse the repository at this point in the history
* new image: vendors-sdk

* added verify file

* cr changes

* rollback confluent-kafka to 1.7.0"

* add domaintools-api module
  • Loading branch information
ilappe committed Sep 10, 2023
1 parent 2b2343e commit fa1b586
Show file tree
Hide file tree
Showing 6 changed files with 1,206 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/vendors-sdk/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
requirements.txt
10 changes: 10 additions & 0 deletions docker/vendors-sdk/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

FROM demisto/python3:3.10.13.72123

COPY requirements.txt .

RUN apk --update add --no-cache librdkafka-dev libmagic

RUN apk --update add --no-cache --virtual .build-dependencies python3-dev build-base wget git \
&& pip install --no-cache-dir -r requirements.txt \
&& apk del .build-dependencies
1 change: 1 addition & 0 deletions docker/vendors-sdk/build.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version=1.0.0
1,153 changes: 1,153 additions & 0 deletions docker/vendors-sdk/poetry.lock

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions docker/vendors-sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[tool.poetry]
name = "dockerfiles"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "~3.10"
cloakensdk = "*"
confluent-kafka = "==1.7.0" # https://github.com/confluentinc/confluent-kafka-python/issues/180
fp-ngfw-smc-python = "*"
pydantic = "*"
duo-client = "*"
pycti = "*"
pyhcl = "*"
cymruwhois = "*"
jbxapi = "*"
domaintools-api = "*"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
17 changes: 17 additions & 0 deletions docker/vendors-sdk/verify.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env python3

import cloakensdk.client
import cloakensdk.resources
import cloakensdk.utility

import confluent_kafka
import smc
import pydantic

import duo_client
import pycti
import hcl
import cymruwhois
import jbxapi

print('Verify of vendors-sdk image passed!')

0 comments on commit fa1b586

Please sign in to comment.