Skip to content

Commit

Permalink
chore: Update crowdstrike integration schema and provision logic
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwalton committed May 10, 2024
1 parent a2222d5 commit 6033049
Show file tree
Hide file tree
Showing 5 changed files with 1,335 additions and 5 deletions.
9 changes: 5 additions & 4 deletions backend/app/integrations/crowdstrike/schema/provision.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Any
from typing import Dict
from typing import Optional

from pydantic import BaseModel
from pydantic import Field
Expand All @@ -17,13 +18,13 @@ class ProvisionCrowdstrikeRequest(BaseModel):
description="The integration name.",
examples=["Crowdstrike"],
)
hot_data_retention: int = Field(
...,
hot_data_retention: Optional[int] = Field(
30,
example=30,
description="Number of days to retain hot data",
)
index_replicas: int = Field(
...,
index_replicas: Optional[int] = Field(
0,
example=1,
description="Number of replicas for the customer's Graylog instance",
)
Expand Down
8 changes: 8 additions & 0 deletions backend/data/SOCFORTRESS/SOCFORTRESS_docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: "3.8"

services:
crowdstrike-connector-SOCFORTRESS:
image: ghcr.io/socfortress/crowdstrike-connector
volumes:
- /opt/CoPilot/data/data/SOCFORTRESS/cs.falconhoseclient.cfg:/opt/crowdstrike/etc/cs.falconhoseclient.cfg
restart: unless-stopped
Loading

0 comments on commit 6033049

Please sign in to comment.