kolide-google-matcher

command module
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

kolide-google-matcher

Discover out-of-compliance hosts that have recently logged into Google Workspace, but lack a matching record in Kolide.

kolide-google-matcher

Installation

go install github.com/chainguard-dev/kolide-google-matcher@latest

Example Output

2022/11/07 11:35:44 Kolide: found 60 devices
2022/11/07 11:35:44 Google: found 58 devices
2022/11/07 11:35:44 inky@chainguard.dev mismatch: Google sees 2 macOS devices, Kolide sees 1
Google:
  Inky's MacBookPro18,2 (MacOS 13.0.0)                        [Sep 2, 2022 to Nov 7, 2022]
  Inky's Mac (macOS 10.15.7)                                  [Sep 2, 2022 to Nov 6, 2022]
Kolide:
  Inkys-MacBook-Pro-2 (macOS 13.0 Ventura Build: 22A380)      [Sep 5, 2022 to Nov 7, 2022]

2022/11/07 11:35:44 wolfi@chainguard.dev mismatch: Google sees 1 devices, Kolide sees 0!
Google:
  Wolfi's Mac (macOS 10.15.7)                                 [Nov 4, 2022 to Nov 4, 2022]

2022/11/07 11:35:44 found 2 total mismatches

Requirements

  • A Kolide API key Create a New Key
  • Access to a Google Workspace admin console
  • The Go Programming Language

Usage

Gather the current list of Desktop machines according to Google:

  1. Visit Google Admin: Mobile Devices
  2. Click the Download button (top right)
  3. Select All columns
  4. Select Comma-separated values (.csv)
  5. Click "Download CSV"

Then you can run the kolide-google-matcher:

export KOLIDE_API_KEY="..."
$HOME/go/bin/kolide-google-matcher --endpoints-csv=</path/to/csv>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL