`./pull-security-reports.sh` reported OK for every endpoint and then wrote empty
split files and blank counts:
Counts (open / closed):
CodeQuality/StandardFindings: / -
Dependabot/Vulnerabilities: / -
`gh api --paginate --slurp` returns ONE ARRAY PER PAGE, so a list endpoint arrives
as [[alert,...],[alert,...]]. Nothing flattened that, so `.[]` yielded PAGES, not
alerts, and every `select(.state == "open")` was applied to an array. jq failed,
its error went to /dev/null, and the `>` redirect left a 0-byte file - which is
not valid JSON, so every later step on it failed too and printed nothing. A
security report that quietly claims there is nothing to see is worse than one
that fails, so:
- fetch() now concatenates the pages into a single list, but only when EVERY
element is itself an array; endpoints returning one object (/repos/{o}/{r},
the SBOM, default-setup) are slurped to [ {...} ] and are left alone, because
their renders index .[0].
- split() writes through a temp file, keeps a valid empty ARRAY and the jq error
on failure, and warns in the summary instead of truncating the destination.
- the secret-scanning redaction validates the redacted copy before deleting the
file that still holds live secrets - it used to write nothing and delete the
source anyway - and now removes that file on the failure path as well.
- count() always prints a number, so the summary can no longer show a blank
column, and the closed column starts at "-" rather than an empty string.
The same shape also broke the newest-analysis lookup (`sort_by | last | .id`
over pages) and the codeql-databases dump; both come right with the flatten.
Verified offline with the fake-gh harness the README documents, replaying the
real fixtures from the failed run: code scanning 4 pages -> 392 alerts,
Dependabot 1 page -> 86, analyses 152 pages -> 15118, advisories -> 22, and the
splits land as 2 open code scanning / 386 closed and 2 open Dependabot / 83
closed, with no zero-byte file anywhere in the run.
Tests: tests/securityReportScript.test.cjs guards the flatten, the non-truncating
split, the redaction ordering and the count helper, and - when jq is installed -
runs the actual filters, including a check that select() on an array-of-pages
still fails, so the guard cannot quietly stop being what protects the split.
Thanks to xet7 !
Wekan is an open-source kanban board which allows a card-based task and to-do management.
Wekan allows to create Boards, on which Cards can be moved around between a number of Columns. Boards can have many members, allowing for easy collaboration, just add everyone that should be able to work with you on the board to it, and you are good to go! You can assign colored Labels to cards to facilitate grouping and filtering, additionally you can add members to a card, for example to assign a task to someone.
What is special about Wekan?
Wekan is distributed under the MIT License, allowing anyone to easily work with it and modify it. It is perfect for anyone that needs a slick kanban board but doesn't want to use third party services, which are out of user control. Wekan can be hosted on your own server with very little effort, guaranteeing that you have all the time full control over your data and can make sure no one else has access to it and that it won't just vanish from one day to another, that is, if you do backups.
Install
SaaS
Support
- Free Public Open Source Support, bugs and feature requests: https://github.com/wekan/wekan/issues
- Paid Private Commercial Support, paid features/fixes/support/hosting: https://wekan.fi/commercial-support/
General
- WeKan Features: Deep Dive Into WeKan (WeKan now runs on Meteor 3.x and Node.js 24.x)
- WeKan Roadmap kanban board - board at Wekan demo
- Future WeKan prototypes: Multiverse WeKan Roadmap
- Change Language
- Forgot Password
- WeKan Design Principles
- FAQ
- IRC FAQ - answers to questions asked at IRC
- Team
- Press
- Blog
- Wekan vs Trello vs Restyaboard
- Results of Survey 2020-01
Fake: Not WeKan kanban
Security
- Allow private boards only: Disable Public Boards
- Security Disclosure and details of Security in Wekan
- Password Hashing
Scaling
- Cron: Hourly restart WeKan, because of memory leaks
- Maybe: Add more RAM to Node.js to prevent crash
- Clustering AWS etc
- Scaling
- Kubernetes
- Helm Chart https://artifacthub.io/packages/helm/wekan/wekan
- Issues https://github.com/wekan/charts/issues
- Pull Requests https://github.com/wekan/charts/pulls
- Redis Oplog
- Scaling at Meteor forums
Migrating
- From Previous Export, paste big WeKan JSON
- Progress: Import/Export/Sync
- From CSV/TSV
- From Excel (.xlsx)
- From Trello
- From Jira
- From / To Kanboard
- From / To NextCloud Deck, OpenProject, GitHub, GitLab, Gitea, Forgejo
- From Asana
- From Zenkit
- From old Wekan manually
Backup
Repair
- Repair MongoDB
- Using Meteor MongoDB to repair files
- If board does not open and keeps loading
- Repair Docker
Themes
Markdown Syntax
- Wekan Markdown
- Emoji
- Mermaid Diagram DOES NOT WORK ANYMORE
- Numbered text
Login Auth
- Automatic login
- Disable Password Login
- Forgot Password
- Admin: Impersonate user
- Adding Users
- Active users Presence
- Accounts Lockout: Brute force login protection
- LDAP
- LDAP AD Simple Auth
- Keycloak
- Google login
- Azure
- OAuth2, Auth0, GitLab, RocketChat
- Oracle OIM on premise using OAuth2
- ADFS 4.0 using OAuth2 and OpenID
- Azure AD B2C using OAuth2
- Nextcloud
- CAS Please test
- SAML Please test
- Zitadel
Metrics, Logs, Stats
Integrations
Time
Features
- All Features index
- Boards
- Lists
- Cards
- Members and Permissions
- WIP Limits
- Keyboard Shortcuts
- Accessibility
- Rules (Automation)
- Card Dependencies — "Red Strings" / PI Program Board
- IFTTT / Rules overview
- Authentication, Admin Panel and SMTP Settings
- Multiline
- Linked Cards
- Drag Drop on Mobile and Desktop
- Python based features
- Burndown and Velocity Chart
- Wait Spinners
- Translations
- Customize Translations
- Default Language for All Users
- Planning Poker
- Scaling
- Custom Logo
- Subtasks
- Templates
- Shared Templates (Admin view)
- Card Cover Image
- Stickers
- Card Locations
- Board Background Images
- Attachments and File Storage
- Right-to-Left (RTL) UI
- Archive and Delete
- Custom Fields
- Fix Export board menu not visible on some boards
- RAM usage
- Swimlanes
Required Settings
Webservers
- Caddy
- Nginx
- Apache
- OpenLiteSpeed
- Local self signed TLS
- Let's Encrypt and Google Auth
- TLS with Node.js
- Traefik and self-signed SSL certs
REST API Docs
- API docs https://wekan.fi/docs/
- PHP Webhook receiver to WeKan API Python https://github.com/wekan/webhook/blob/main/public/index.php#L46
- API clients
- Python
- api.py
- https://github.com/wekan/wekan-python-api-client
- https://github.com/wekan/python-wekan
- Other Python features Python
- Go https://github.com/wekan/wego
- Python
- Other API
- REST API Code
- Login
- User
- Role
- Boards
- Lists
- Cards
- Checklists
- Swimlanes
- Custom Fields
- Integrations
REST API issue
REST API client code
- Example: New card with Python3 and REST API
- Python client to REST API
- Go client to REST API
- Wekan Sandstorm cards to CSV using Python
- Excel and VBA
Webhooks
- Per-board events sending at board right sidebar / Board Settings / Webhooks
- Check that webhook immediately responds with HTTP 200 OK, otherwise WeKan slows down
- Global Webhook
- PHP Webhook receiver to WeKan API Python https://github.com/wekan/webhook/blob/main/public/index.php#L46
- Limiting Webhook data
- Receiving Webhooks
- Java Webhooks
- Outgoing Webhook to Discord/Slack/RocketChat/Riot
- Outgoing Webhook to NodeRed
- Outgoing Webhook to PowerShell
- Outgoing Webhooks, CA and Let's Encrypt
- Outgoing Webhooks Data
- Outgoing Webhooks Original Pull Request, multiple Webhooks, more parameters and response order
Development
- Kadira integration
- Debugging
- Developer Docs for Standalone Wekan
- Developer Docs for Sandstorm Wekan
- Adding new Snap setting to code
- Directory Structure
- Beginner
- Maintainer FAQ