+
🤖Dependabot:
+ @if (repo.dependabot.status == 'DISABLED') {
+ Disabled
+ }
+ @else if (repo.dependabot.status == 'NO_PERMISSION') {
+ No permission
+ }
+ @else if (hasAlerts(repo.dependabot.alerts)) {
+ @for (alert of alertKeys(repo.dependabot.alerts); track $index) {
+
+ {{ repo.dependabot.alerts[alert] }} {{ alert }}
+
+ }
+ }
+ @else {
+ No vulnerabilities
+ }
+
+
🖥️Code Scanning:
+ @if (repo.codeScanning.status == 'DISABLED') {
+ Disabled
+ }
+ @else if (repo.codeScanning.status == 'NO_PERMISSION') {
+ No permission
+ }
+ @else if (hasAlerts(repo.codeScanning.alerts)) {
+ @for (alert of alertKeys(repo.codeScanning.alerts); track $index) {
+
+ {{ repo.codeScanning.alerts[alert] }} {{ alert }}
+
+ }
+ }
+ @else {
+ No vulnerabilities
+ }
+
+
🔑Secret Scanning:
+ @if (repo.secretScanning.status == 'DISABLED') {
+ Disabled
+ }
+ @else if (repo.secretScanning.status == 'NO_PERMISSION') {
+ No permission
+ }
+ @else if (repo.secretScanning.numberOfAlerts) {
+
+ {{ repo.secretScanning.numberOfAlerts }} alerts
+
+ }
+ @else {
+ No vulnerabilities
+ }
+
+
🚧Branch Protection:
+ @if (repo.branchProtectionEnabled) {
+ Enabled
+ }
+ @else {
+ Disabled
+ }
+
+
⏱️Last Commit: {{ formatCommitDate(repo.lastCommitDate) }}
+