Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 14 Sep 03:23
· 7 commits to main since this release

gcgit v1.1.0 - Git for Cortex XSIAM

Go Cortex Git is a Rust-based command-line interface (CLI) tool designed to serve as a lightweight abstraction layer between local Git operations and the Cortex XSIAM REST API. Its purpose is to enable security teams to version-control and deploy Cortex XSIAM configuration objects—such as Correlation Searches, Dashboards, BIOCs, and Scripts—without requiring a full-scale CI/CD pipeline or remote Git hosting.

image

New in this release

  • Migrate build system to MUSL for static Linux binaries
  • Update git2 and openssl dependencies for static linking
  • Updated builds gcgit-VERSION-TARGET.tar.gz (e.g., gcgit-1.1.0-linux-musl-x86_64.tar.gz)
  • Added automatic version extraction using cargo metadata and jq
  • Standardised target names: linux-musl-x86_64, linux-musl-aarch64, macos-x86_64, macos-aarch64

This release includes binaries for multiple architectures:

Recommended (Static builds, no GLIBC dependency):

  • linux-musl-x86_64: Universal Linux 64-bit (static, works on any Linux distribution)
  • linux-musl-aarch64: Universal Linux ARM64 (static, works on any Linux distribution)

macOS builds:

  • macos-x86_64: macOS Intel 64-bit
  • macos-aarch64: macOS Apple Silicon (M1/M2)

Installation

For maximum compatibility (recommended):

# Download universal static binary (works on any Linux distribution)
wget https://github.com/gocortex/gcgit/releases/download/v1.1.0/gcgit-v1.1.0-linux-musl-x86_64.tar.gz
tar -xzf gcgit-v1.1.0-linux-musl-x86_64.tar.gz
sudo mv gcgit-v1.1.0-linux-musl-x86_64 /usr/local/bin/gcgit

For macOS:

# For Apple Silicon (M1/M2)
wget https://github.com/gocortex/gcgit/releases/download/v1.1.0/gcgit-v1.1.0-macos-aarch64.tar.gz
tar -xzf gcgit-v1.1.0-macos-aarch64.tar.gz
sudo mv gcgit-v1.1.0-macos-aarch64 /usr/local/bin/gcgit

Usage

# Initialise a new XSIAM instance
gcgit init --instance myinstance

# Pull configurations from XSIAM
gcgit xsiam pull --instance myinstance

# Check status
gcgit xsiam status --instance myinstance

# Test connectivity
gcgit xsiam test --instance myinstance

# Get help
gcgit --help

Technical Details

  • Built with Rust: High performance and memory safety
  • XSIAM Integration: Native support for all five content types
  • Cross-platform: Multiple operating systems and architectures supported
  • Git Integration: Local version control with automated change detection

Full Changelog: https://github.com/gocortexio/gcgit/commits/v1.1.0