Why wouldn't someone just use github actions and token scanning. https://github.com/features/actions https://developer.github.com/partnerships/token-scanning/
For starters, that "just" is swallowing: - Identify the relevant tokens you want to scan for, and create regular expressions to capture them. - Create a token alert service which accepts webhooks from GitHub that contain the token scanning message payload. - Implement signature verification in your token alert service. - Implement token revocation and user notification in your token alert service. And that would repl…
Launch HN: Datree (YC W20) – Best practices and security policies on each commit
21–30 of 54 posts
Re: Launch HN: Datree (YC W20) – Best practices and security policies on each commit
#22Do you offer an on-prem version for orgs that couldn't use a SaaS provider for this sort of functionality?
Re: Launch HN: Datree (YC W20) – Best practices and security policies on each commit
#23How do you deal with false positives?
Re: Launch HN: Datree (YC W20) – Best practices and security policies on each commit
#24>What we built is a rules engine, which is essentially a server-side git-hook platform. Isn't it too late once it is committed to github? It seems like this would be much more useful as a service running as a precommit hook on each workstation. Probably harder to ship/monetize that but as far as actually solving the problem wouldn't that be better?
Re: Launch HN: Datree (YC W20) – Best practices and security policies on each commit
#25Hello Shimon, nice to see your post here, all the best to you and your team from an ex-colleague. Would you mind sharing an example of a custom rule?
* Verify that CI configuration includes running certain jobs (e.g. third-party packages scanner).
* Ensure that all Docker containers are using a pinned down tag and not "latest"
* Verify that every commit is tied to an issue tracker (e.g. JIRA) ticket for traceability.
Re: Launch HN: Datree (YC W20) – Best practices and security policies on each commit
#26Looks good. We were trying to implement this using a mix of CI, pre-commit hooks and Gitlab PR templates, but it was limiting. This looks like exactly what we needed. Regarding custom rules, does the tool run automated tests for those too?
Your unit tests and integration tests should still run using your CI. We run tests around the git and structured files
Re: Launch HN: Datree (YC W20) – Best practices and security policies on each commit
#27Earlier quoted context omitted.
For starters, that "just" is swallowing: - Identify the relevant tokens you want to scan for, and create regular expressions to capture them. - Create a token alert service which accepts webhooks from GitHub that contain the token scanning message payload. - Implement signature verification in your token alert service. - Implement token revocation and user notification in your token alert service. And that would repl…
It always warms my heart to see someone fighting the "why not just..." comments on here. Everyone underestimates how much goes into a project.
https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
Re: Launch HN: Datree (YC W20) – Best practices and security policies on each commit
#28Funny we built almost the same product 6 years ago (sold it to a competitor), we even did automated refactoring of Python code. We also developed a regex-like language that could operate on abstract syntax trees / annotated graphs, which we wrote all our checks with. We were working on extending that with a graph database backend and symbolic execution, basically building a large code graph that we would perform patt…
I believe that now is the right time for a solution like Datree. I think so because of the way we develop software has evolved, companies moved from Waterfall into Agile, there is developer autonomy and the move towards distributed micro-services has brought many companies to the reality of having hundreds and thousands of git repositories, each one with its own configuration files for CI, Docker, Kubernetes, etc.. its really hard managing all of those distributed pieces :)
Re: Launch HN: Datree (YC W20) – Best practices and security policies on each commit
#29>What we built is a rules engine, which is essentially a server-side git-hook platform. Isn't it too late once it is committed to github? It seems like this would be much more useful as a service running as a precommit hook on each workstation. Probably harder to ship/monetize that but as far as actually solving the problem wouldn't that be better?
This is why we choose to integrate on the pull-request level. It is not perfect, but at least your plain text secrets will not be merged into master and go in onto your developer's laptops and your servers(less). :)
We try to find a balance between perfect and achievable in an easy way for our customers