Skip to content

Create the web scaffolding for the Companion Edition #2393

@sydseter

Description

@sydseter

Similarly as with the Website App Edition.

Create the web pages for the Companion Edition.

The source files are here:

https://github.com/OWASP/cornucopia/blob/master/source/companion-cards-1.0.yaml
https://github.com/OWASP/cornucopia/blob/master/source/companion-mappings-1.0.yaml

We need the following routes (see ):

cornucopia.owasp.org/cards/{card code}

https://cornucopia.owasp.org/edition/companion/{card code}/1.0/en

https://cornucopia.owasp.org/edition/companion/{card code}/1.0

https://cornucopia.owasp.org/edition/companion/{card code}

https://cornucopia.owasp.org/edition/companion

The Edition should also have it's cards browsable from: https://cornucopia.owasp.org/cards and https://cornucopia.owasp.org/edition/companion

A folder called "companion-cards-1.0.yaml" need to be created in https://github.com/OWASP/cornucopia/tree/master/cornucopia.owasp.org/data/cards

In the folder there need to be a folder for each of the suites in the edition:

llm, agentic-ai, cloud, frontend, devops, social-engineering, automated-threats

Under each of the suites you should have a folder with the card codes:

E.g:

llm -> LLM{2-A},
agentic-ai -> AAI{2-A},
cloud -> CLD{2-A},
frontend -> FRE{2-A},
devops -> DVO{2-A},
social-engineering -> SE{2-A},
automated-threats -> BOT{2-A},

Each of the card folders (e.g: LLM2) should have two files:

explanation.md
technical-note.md

Both the files can be empty.

The colores for the suites should be grey for now: #dbdbdb

Not all the suites has a description and mapping. These descriptions and mapping will be added later to the source files.

Create a new taxonomy component similarly as with mobileAppCardTaxonomy.svelte and call it companionCardTaxonomy.svelte

The mapping codes can be pure text. They don't need to link to anywhere, for now.

Make sure the cards in the card browser for the companion edition has similar dimensions has for the Website App version.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions