Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 24 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ This project aims to provide a secure and user-friendly dashboard for managing a
- [Projects](#projects)
- [Workflows](#workflows)
- [Checks](#checks)
4. [Database Management](#database-management)
4. [Report Management](#report-management)
5. [Database Management](#database-management)
- [Migrations](#migrations)
- [Seeding](#seeding)
- [Schema Management](#schema-management)
5. [Development](#development)
6. [Development](#development)
- [Debugging](#debugging)
- [Linting](#linting)
- [Testing](#testing)
6. [Community Guidelines](#community-guidelines)
7. [License](#license)
7. [Community Guidelines](#community-guidelines)
8. [License](#license)

---

Expand Down Expand Up @@ -172,6 +173,25 @@ It is possible also to define a project scope:
node index.js checklist run [--name <name>] [--project-scope <name1,name2,...>]
```

## Report Management

visionBoard has the capability of generating reports that can be used to analyze data.

### Generate the Reports

_Not yet implemented_

### Showcase the Reports

The simplest option is to run the workflow `show-reports`, which will start an HTTP server that lists the content in the `output` folder. Any asset previously generated can be accessed via a web browser using this approach. You can start the server by running:

```bash
node index.js workflow run --name show-reports
```

You can customize the IP and port using the environment variables `PORT` and `IP`. By default, it uses `localhost:3000`.


## Database Management

### Migrations
Expand Down
5 changes: 5 additions & 0 deletions __tests__/cli/__snapshots__/workflows.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,10 @@ exports[`list - Non-Interactive Mode Should provide a list of available workflow
"name": "upsert-ossf-scorecard",
"workflow": [Function],
},
{
"description": "Starts a http server that shows all the files and folders in the output directory.",
"name": "show-reports",
"workflow": [Function],
},
]
`;
4 changes: 4 additions & 0 deletions __tests__/cli/workflows.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,7 @@ describe('run run-all-checks', () => {
describe('run upsert-ossf-scorecard', () => {
test.todo('Should upsert the OSSF Scorecard scoring by running and checking every repository in the database')
})

describe('run show-reports', () => {
test.todo('Should start a http server that shows all the files and folders in the output directory')
})
Loading
Loading