grendel-consulting / steampipe-plugin-kolide

Use SQL to instantly query your Kolide K2 fleet
https://hub.steampipe.io/plugins/grendel-consulting/kolide
Apache License 2.0
3 stars 1 forks source link

Initial Plugin Review #59

Closed khushboo9024 closed 7 months ago

khushboo9024 commented 7 months ago

Thanks @grendel-consulting for this new plugin. Great work 🎉 !!

The basic structure looks good so far. While using the plugin, we did come up with a few suggestions based on our best practices:

Missing files

renovate.json

I think we don't need this folder so we can remove it

docs/index.md

docs/tables/*

Makefile

ramirezj commented 7 months ago

Makefile

  • Could you please update the Makefile to follow the format of the namecheap plugin

@khushboo9024, I have followed the pattern used in the aws plugin because this plugin (indirectly) uses the Golang net module and statically-linking it is potentially safer. Let me know you thoughts

ramirezj commented 7 months ago

renovate.json

I think we don't need this folder so we can remove it

Renovate provides evergreen dependency management, similar to Dependabot but with coonfiguration more suited to my working patterns. I strongly prefer to leave this in

ramirezj commented 7 months ago

Everything else I am addressing in #60 @khushboo9024 , complete including the further examples

misraved commented 7 months ago

@ramirezj thank you once again for the new plugin 👍!!

Few questions/suggestions before we proceed to release the plugin on the hub:

ramirezj commented 7 months ago
  • Is there a specific reason for including k2 in the table nomenclature? I was looking at the API docs but couldn't find any reference. Could you please share relevant API docs that clearly differentiate between the K1 and K2 API versions?

Per the remarks on the API token format the token prefix is tied to the original K2 product Kolide offered; happy to rename if you feel this isn't in alignment

ramirezj commented 7 months ago

Are there specific elements to include or exclude?

ramirezj commented 7 months ago

Following the pattern in the Steampipe AWS plugin, we want consistent behaviour when using network connections, hence needing to explicitly bake in netgo whwen building on macOS

ramirezj commented 7 months ago
  • How has the Steampipe CLI behaved with go version 1.21.9? Does the plugin work as per expectation? We haven't tested out the changes in detail, so curious to know if you faced any particular issue during the plugin development process.

At the moment it is working as per expected on Golang 1.21.9. Not adverse or unexpected results

ramirezj commented 7 months ago

Everything should be addressed @misraved