From 59ea2160a17741724478ef0a172185b25e9efefd Mon Sep 17 00:00:00 2001 From: Guillaume Montard Date: Mon, 16 Dec 2024 16:48:32 +0000 Subject: [PATCH] docs: Update to differentiate Bearer CLI and Bearer Pro (#1728) --- README.md | 15 ++++--- docs/reference/supported-languages.njk | 55 ++++++++++++++++++++------ 2 files changed, 53 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 909c13d53..06aac21db 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,9 @@
Scan your source code against top security and privacy risks.

- Bearer CLI is a static application security testing (SAST) tool that scans your source code and analyzes your data flows to discover, filter and prioritize security and privacy risks. -

- Currently supporting: JavaScript/TypeScript, Ruby, PHP, Java, Go, Python - Learn more - + Bearer is a static application security testing (SAST) tool designed to scan your source code and analyze data flows to identify, filter, and prioritize security and privacy risks. +

+ Bearer offers a free, open solution, Bearer CLI, and a commercial solution, Bearer Pro, available through Cycode.

[Getting Started](#rocket-getting-started) - [FAQ](#question-faqs) - [Documentation](https://docs.bearer.com) - [Report a Bug](https://github.com/Bearer/bearer/issues/new/choose) - [Discord Community][discord] @@ -29,8 +28,14 @@ [![Discord](https://img.shields.io/discord/1042147477765242973?label=discord)][discord] -## Developer friendly static code analysis for security and privacy +## Language Support +**Bearer CLI**: Go • Java • JavaScript • TypeScript • PHP • Python • Ruby
+**Bearer Pro by Cycode**: C# • Kotlin • Elixir *+ everything in Bearer OSS* + +Learn more about language suppport + +## Developer friendly static code analysis for security and privacy
diff --git a/docs/reference/supported-languages.njk b/docs/reference/supported-languages.njk index 19982505e..d1c2c3903 100644 --- a/docs/reference/supported-languages.njk +++ b/docs/reference/supported-languages.njk @@ -9,7 +9,7 @@ supportChart: rules: true searchName: lang-ruby searchTerm: ruby_ - status: GA + support: Bearer CLI + Pro javascript: name: JavaScript / TypeScript frameworks: @@ -18,15 +18,16 @@ supportChart: rules: true searchName: lang-jsts searchTerm: javascript_ - status: GA + support: Bearer CLI + Pro java: name: Java frameworks: - Spring + - Java rules: true searchName: lang-java searchTerm: java_ - status: GA + support: Bearer CLI + Pro php: name: PHP frameworks: @@ -34,7 +35,7 @@ supportChart: rules: true searchName: lang-php searchTerm: php_ - status: GA + support: Bearer CLI + Pro go: name: Go frameworks: @@ -42,7 +43,7 @@ supportChart: rules: true searchName: lang-go searchTerm: go_ - status: GA + support: Bearer CLI + Pro python: name: Python frameworks: @@ -50,13 +51,39 @@ supportChart: rules: true searchName: lang-python searchTerm: python_ - status: GA + support: Bearer CLI + Pro + csharp: + name: C# + frameworks: + - .Net + rules: true + searchName: lang-csharp + searchTerm: csharp_ + support: Bearer Pro + kotlin: + name: Kotlin + frameworks: + - Android + - Spring + - Ktor + rules: true + searchName: lang-kotlin + searchTerm: kotlin_ + support: Bearer Pro + elixir: + name: Elixir + frameworks: + - Phoenix + rules: true + searchName: lang-elixir + searchTerm: elixir_ + support: Bearer Pro --- {% renderTemplate "liquid,md" %} # Supported languages -Bearer CLI supports the following language and framework combinations. +Bearer supports the following language and framework combinations. When you scan a codebase, Bearer will automatically select the appropriate language based on the file extension. For example, if your application is composed of Ruby and JavaScript code, Bearer will automatically apply the right language and set of rules. {% endrenderTemplate %} @@ -67,7 +94,7 @@ When you scan a codebase, Bearer will automatically select the appropriate langu Languages Frameworks # rules - Status + Support @@ -84,14 +111,18 @@ When you scan a codebase, Bearer will automatically select the appropriate langu {% endif %} - {% if data.rules %} - {{rules.counts.languages[language].count}} + {% if data.support == "Bearer Pro" %} + Learn more {% else %} - - + {% if data.rules %} + {{rules.counts.languages[language].count}} + {% else %} + - + {% endif %} {% endif %} - {{ data.status }}
+ {{ data.support }}
{% if data.comment_link %} {{ data.comment }} {% else %}