Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revealjs & update scorecard action version #240

Merged
merged 3 commits into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d # v2.0.6
uses: ossf/scorecard-action@v2.3.1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change related to the revealjs addition?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me remove this, it should be on an update of its own.

with:
results_file: results.sarif
results_format: sarif
Expand Down
185 changes: 185 additions & 0 deletions docs/reveal.md
colesmj marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
# {tm.name}

---

## System Description

{tm.description}

---

## Dataflow Diagram

![](sample.png)

---

## Dataflows

----

{dataflows:repeat:

- **name** : {{item.display_name:call:}}
- **from** : {{item.source.name}}
- **to** : {{item.sink.name}}:{{item.dstPort}}
- **data** : {{item.data}}
- **protocol** : {{item.protocol}}

----
}

---

## Data Dictionary

----

{data:repeat:

- **name** : {{item.name}}
- **description** : {{item.description}}
- **classification** : {{item.classification.name}}
- **carried by** : {{item.carriedBy:repeat:{{{{item.name}}}}<br>}}
- **processed by** : {{item.processedBy:repeat:{{{{item.name}}}}<br>}}

----
}


---

## Actors

----

{actors:repeat:
- **name** : {{item.name}}
- **description** : {{item.description}}
- **is Admin** : {{item.isAdmin}}
- **# of findings** : {{item:call:getFindingCount}}

{{item.findings:not:
---
}}

{{item.findings:if:
----
**Findings**

----

{{item.findings:repeat:
<summary>{{{{item.id}}}} -- {{{{item.description}}}}</summary>

- **Targeted Element** : {{{{item.target}}}}
- **Severity** : {{{{item.severity}}}}
- **References** : {{{{item.references}}}}

----

}}
}}
}

## Trust Boundaries

----

{boundaries:repeat:
- **name** : {{item.name}}
- **description** : {{item.description}}
- **in scope** : {{item.inScope}}
- **immediate parent** : {{item.parents:if:{{item:call:getParentName}}}}{{item.parents:not:N/A, primary boundary}}
- **all parents** : {{item.parents:call:{{{{item.display_name:call:}}}}, }}
- **classification** : {{item.maxClassification}}
- **finding count** : {{item:call:getFindingCount}}

{{item.findings:not:
---
}}

{{item.findings:if:
----
**Findings**

----

{{item.findings:repeat:
<summary>{{{{item.id}}}} - {{{{item.description}}}}</summary>

- **Targeted Element** : {{{{item.target}}}}
- **Severity** : {{{{item.severity}}}}
- **References** : {{{{item.references}}}}
----

}}
}}
}

## Assets

{assets:repeat:

- **name** : {{item.name}}
- **description** : {{item.description}}
- **in scope** : {{item.inScope}}
- **type** : {{item:call:getElementType}}
- **# of findings** : {{item:call:getFindingCount}}

{{item.findings:not:
---
}}

{{item.findings:if:
----
**Findings**

----

{{item.findings:repeat:
<summary>{{{{item.id}}}} - {{{{item.description}}}}</summary>

- **Targeted Element** : {{{{item.target}}}}
- **Severity** : {{{{item.severity}}}}
- **References** : {{{{item.references}}}}
----

}}
}}
}

## Data Flows

{dataflows:repeat:
Name|{{item.name}}
|:----|:----|
Description|{{item.description}}|
Sink|{{item.sink}}|
Source|{{item.source}}|
Is Response|{{item.isResponse}}|
In Scope|{{item.inScope}}|
Finding Count|{{item:call:getFindingCount}}|

{{item.findings:not:
---
}}

{{item.findings:if:
----
**Findings**

----

{{item.findings:repeat:
<summary>{{{{item.id}}}} - {{{{item.description}}}}</summary>

- **Targeted Element** : {{{{item.target}}}}
- **Severity** : {{{{item.severity}}}}
- **References** : {{{{item.references}}}}
----

}}
}}
}

Loading