Skip to content

Commit

Permalink
Merge pull request #143 from isimluk/log-version
Browse files Browse the repository at this point in the history
Log the FIG version
  • Loading branch information
carlosmmatos authored Oct 31, 2022
2 parents f8ca0af + cccd4bb commit c8cc2d0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ RUN : \
&& rm -rf /var/lib/apt/lists/*

RUN useradd --create-home --home-dir /fig figuser
USER figuser
WORKDIR /fig

COPY requirements.txt .
RUN pip install -r ./requirements.txt

COPY . .

USER figuser

CMD [ "python3", "-m" , "fig"]
1 change: 1 addition & 0 deletions fig/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '3.1.3'
4 changes: 4 additions & 0 deletions fig/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
from .config import config
from .backends import Backends
from .falcon_data import FalconCache
from .log import log
from . import __version__


if __name__ == "__main__":
log.info("Starting Falcon Integration Gateway %s", __version__)

# Central to the fig architecture is a message queue (falcon_events). GCPWorkerThread/s read the queue and process
# each event. The events are put on queue by StreamingThread. StreamingThread is restarted by StreamManagementThread

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
from glob import glob
from os.path import basename
from os.path import splitext
import fig

with open("README.md", "r") as fh:
long_description = fh.read()

setup(
name="falcon-integration-gateway",
version="3.1.3",
version=fig.__version__,
author="CRWD Solution Architects",
author_email="[email protected]",
description="The CrowdStrike Demo Falcon Integration Gateway for GCP",
Expand Down

0 comments on commit c8cc2d0

Please sign in to comment.