aboutsummaryrefslogtreecommitdiff
path: root/octosentry/SecurityEventSource.swift
blob: 9c68296546d0172bfe5c8665aa647b4669218cb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  SecurityEventSource.swift
//  octosentry
//

import Foundation

enum SecurityEventSource: String, Codable, CaseIterable {
    case dependabot
    case codeScanning
    case secretScanning

    var displayName: String {
        switch self {
        case .dependabot: "Dependabot"
        case .codeScanning: "CodeQL"
        case .secretScanning: "Secret Scanning"
        }
    }
}