Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpe_chrome does not require dependency on fb_osquery #261

Open
johnnyramos opened this issue Oct 11, 2021 · 5 comments
Open

cpe_chrome does not require dependency on fb_osquery #261

johnnyramos opened this issue Oct 11, 2021 · 5 comments

Comments

@johnnyramos
Copy link
Contributor

Seems a dependency was added in this commit but I don't see the requirement for it in the code.

Line:

johnnyramos added a commit to johnnyramos/IT-CPE that referenced this issue Oct 11, 2021
Doesn't look like this is needed and was added by mistake. Removing.

Issue facebook#261
@ChefAustin
Copy link
Contributor

Furthermore, (even if the dependency were necessary) fb_osquery is not offered in either this repo or facebook/chef-cookbooks.

@steelcowboy
Copy link
Contributor

Sorry about this oversight, unfortunately it is actually required: node.installed? comes from fb_osquery:

return unless chrome_installed || node.installed?('Google Chrome')

fb_osquery was intended to be open-sourced, I will see if there are any blockers to doing that and update this issue once it is done

@erikng
Copy link
Contributor

erikng commented Oct 21, 2021

I'm sure you're unlikely to use our cookbook but we've had a API style osquery cookbook open sourced for about a year.

https://github.com/uber/client-platform-engineering/tree/main/chef/cookbooks/cpe_osquery

@johnnyramos
Copy link
Contributor Author

Just following up @steelcowboy - thanks!

@steelcowboy
Copy link
Contributor

Sorry it took me a while to follow up on this! I'm in the process of open sourcing fb_osquery and I expect I'll have it done in the next few days

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

No branches or pull requests

4 participants