Comments (1)
I can think of 3 options:
Option 1 (recommended)
We introduce a new information in the rule (version
) and if we try to compile a rule that is incompatible with the binary, we raise and display the following message
It looks like you are running a version of the binary that is incompatible with the following rule(s) (rule-1, rule-2). Update Bearer to start using the version of the rules
Option 2
If the compilation of the rules fails (we let it fail) and it's not the latest version of the binary, we display the following message
It looks like you are running an older version of the binary that might be incompatible with the latest ruleset. Try updating bearer
Option 3
We have a database of the binaries and their compatible rulesets. Instead of downloading the rules directly from GitHub, we download it from our backend and we check against that DB which version we can use.
from bearer.
Related Issues (20)
- Yaml format for Dataflow report returns error HOT 1
- Improve test annotations
- Bearer scan --diff fails with broken pipe when line too long
- Fix string_literal detection HOT 1
- privacy report output is incompatible with reviewdog HOT 1
- Broken reference link in scan results HOT 1
- Failed to get git context: couldn't parse origin url HOT 7
- Add references and guides to html scan output HOT 1
- Unsupported warning message in quiet mode HOT 1
- Does bearer plan to provide SBOM vulnerability analysis feature ? HOT 1
- Report Export format for Defect Dojo HOT 1
- Can only scan git projects? HOT 2
- Error: failed to get git context: error checking for uncommitted changes: exit status 129 HOT 4
- "Missing validation for regular expression" issue does not seem to be correct HOT 1
- Inconsistent vulnerability findings due to fluctuating system resources HOT 3
- GitHub action fails on linux/arm64 host HOT 4
- Strange bearer:expected behaviour during CI runs
- Install on linux fails with 1.43.3 HOT 2
- Integrate with pre-commit framework HOT 1
- HTML report date has incorrect ordinal HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bearer.