Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new image: vendors-sdk #19658

Merged
merged 7 commits into from
Sep 10, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -723,3 +723,7 @@ updates:
directory: /docker/ldap
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/vendors-sdk
schedule:
interval: daily
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
987 changes: 987 additions & 0 deletions docker/vendors-sdk/poetry.lock

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions docker/vendors-sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[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"
ilappe marked this conversation as resolved.
Show resolved Hide resolved
fp-ngfw-smc-python = "*"
pydantic = "*"
duo-client = "*"
pycti = "*"
pyhcl = "*"
cymruwhois = "*"
jbxapi = "*"


[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!')