falcosecurity / falco-playground Goto Github PK
View Code? Open in Web Editor NEWWeb-application used to validate Falco rules and test against scap file
Home Page: http://play.falco.org
License: Apache License 2.0
Web-application used to validate Falco rules and test against scap file
Home Page: http://play.falco.org
License: Apache License 2.0
Motivation
Right now, we don't have a proper way to inform the user about the status of the wasm
file. The Wasm file is around 9 MB
(as of now) and it takes a while to download. 1 min 30 sec in my case.
If it's the user's first visit, it takes quite a bit of time and during that time user is blocked. After the first visit, the wasm
file is cached
and loaded in a few seconds the second time around.
During this period, a user might feel the website is broken. Although efforts are being made to reduce the wasm file, It would be nice to indicate to the user the current status of the wasm file through a progress bar. Here's an example
Link: https://ant.design/components/progress
To reproduce this error , load the website in incognito
mode.
Motivation
Right now, the share button base64
encodes the entire rules written in the editor.
Feature
We need to check the maximum amount of rules that can be encoded. To accomplish this, we need to attempt to break the functionality of the share
button by continuously adding more rules. We need to find that threshold and alert the user to prevent inconsistencies.
falco-playground/src/components/Sidebar/Sidebar.tsx
Lines 198 to 207 in 9ddf921
Describe the bug
Incorrect testing command in the README.md
file. Under CLI testing, the command does not start testing.
Expected behaviour
The command should use cypress to start testing.
Motivation
Right now falco-playground can be used in light mode.
Feature
Add support to Dark mode
Describe the bug
Right now, the navigation bar changes text colour to back
when clicked.
How to reproduce it
Open Falco-playground in mobile view
Expected behaviour
The click event should change the element's colour to white
. In other words, the text should change to white colour.
Screenshots
screen-recorder-wed-oct-11-2023-16-27-48.webm
Motivation
Right now, the Steps involved in downloading the artifacts are quite cumbersome.
https://github.com/falcosecurity/falco-playground#steps-to-download-additional-artifacts
Feature
Create a download
script that automatically downloads the artifact and moves them into specific folders. Something like npm run download
Lines 8 to 15 in 2153d90
Motivation
Right now, we only test when we push to the master
branch.
Feature
We need to add a new workflow to run Cypress tests when a new pull request
is created.
falco-playground/.github/workflows/deploy.yaml
Lines 3 to 8 in 2153d90
Additional context
Describe the bug
The JS file emitted by emscripten falco.js
depends on a websockets
How to reproduce it
npm run dev
Expected behaviour
No errors
Describe the bug
Right now, GitHub star button isn't showing the correct value.
falco-playground/src/components/Navbar/Navbar.tsx
Lines 27 to 34 in 4dfca29
Reference: https://buttons.github.io/
How to reproduce it
Go to falco-playground
Expected behaviour
The value on the playground should correlate with the actual amount of stars. As of now it is
Motivation
Right now, falco-playground dosen't have any icon
Feature
Add the falco icon which looks something like this.
Describe the bug / how to reproduce
Expected behaviour
The scap file is loaded
Screenshots
Environment
Current master ( e113162 )
Motivation
Right now there are only a few test cases that cover basic functionality process.
falco-playground/cypress/e2e/home.cy.ts
Lines 5 to 28 in 4dfca29
Feature
Add more test cases that cover features and it's edge cases like
Motivation
While not every version of Falco can be executed with every playground version, it would be nice to allow users to select what they would like to have a drop-down menu where to select the version of Falco they want to test in the playground. Now that we have introduced releases, I believe this became a possibility
Alternatives
Run only with the latest released version, like it is today
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.