Coder Social home page Coder Social logo

kolide-google-matcher's Introduction

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 [email protected] 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 [email protected] 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>

kolide-google-matcher's People

Contributors

jdolitsky avatar tstromberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kolide-google-matcher's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.