carwin / carwin/snlack

Create individual issue view using Block Kit API

Open
#7 0 comments 0 reactions 1 assignee Claimed by @carwin View on GitHub
enhancement
Dominant language
TypeScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Draft / Concept
![image](https://user-images.githubusercontent.com/715967/189528845-bbed5739-b622-4c20-a406-2292e3b96f6a.png)

### Accompanying block array

```js
{
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "ansi-regex"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "_Regular Expression Denial of Service (ReDoS)_"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Vulnerability:*\n - - "
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Score:*\n485"
},
{
"type": "mrkdwn",
"text": "*Priority:*\n:red_circle: High\n  "
},
{
"type": "mrkdwn",
"text": "*Snyk Identifier:*\nSNYK-JS-ANSIREGEX-1583908"
},
{
"type": "mrkdwn",
"text": "*Introduced through:*\nesdoc@1.1.0"
}
]
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"emoji": true,
"text": "View on Snyk.io"
},
"style": "primary",
"value": "click_me_123"
},
{
"type": "button",
"text": {
"type": "plain_text",
"emoji": true,
"text": "Ignore"
},
"style": "danger",
"value": "click_me_123"
}
]
}
]
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.