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

Create individual issue view using Block Kit API #7

Open
carwin opened this issue Sep 11, 2022 · 0 comments
Open

Create individual issue view using Block Kit API #7

carwin opened this issue Sep 11, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@carwin
Copy link
Owner

carwin commented Sep 11, 2022

Draft / Concept

image

Accompanying block array

{
	"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 <https://snyk.io|CWE-400> - <https://snyk.io | CVE-2021-3807> - <https://snyk.io | CVSS 7.5>"
			}
		},
		{
			"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:*\[email protected]"
				}
			]
		},
		{
			"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"
				}
			]
		}
	]
}
@carwin carwin added this to the MVP Release milestone Sep 11, 2022
@carwin carwin self-assigned this Sep 11, 2022
@carwin carwin added the enhancement New feature or request label Sep 11, 2022
@carwin carwin moved this from Todo to Backlog in Snlack Project Development Sep 17, 2022
@carwin carwin removed this from the MVP Release milestone Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant