Skip to content

feat(deploy): add secfoo sensor manifest, container Dockerfiles, runtime examples, and docs/RUNTIME.md (#71) - #288

Open
SriRamkunamsetty wants to merge 2 commits into
secfoo-com:mainfrom
SriRamkunamsetty:feat/deploy-sensor-71
Open

SriRamkunamsetty wants to merge 2 commits into
secfoo-com:mainfrom
SriRamkunamsetty:feat/deploy-sensor-71

Conversation

@SriRamkunamsetty

Copy link
Copy Markdown
Contributor

Closes #71
Follows up #237
Depends on #67 / #235 (#287)

What does this change, and why?
Rebased onto the fixed #67 (#235 / #287) branch and main (afe600d), and addressed the review feedback:

  • Removed :latest and unpublished ghcr.io/secfoo-com/secfoo-sensor / secfoo-probe references from examples/runtime/, src/secfoo/sensor/manifest.py, and packaging/docker/Dockerfile.probe, documenting the Dockerfile.sensor / Dockerfile.probe build-and-pin workflow in docs/RUNTIME.md (and pinned ghcr.io/secfoo-com/secfoo:0.3.2 in docker-compose.yml).

Testing

  • Verified locally: tests/test_sensor/test_manifest.py & test_sensor_daemon.py (16 passed, 1 skipped on Windows) and ruff check pass.

Copilot AI balanced review requested due to automatic review settings December 6, 2026 13:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

if host == "::1" or ":" in host:
srv = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
srv.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
srv.bind(("::1", port))
else:
srv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
srv.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
srv.bind(("127.0.0.1", port))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deploy the runtime sensor anywhere: containers, Kubernetes, VMs, Windows, PaaS, serverless

3 participants