You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/code-scanning/Types.swift
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3290,6 +3290,17 @@ public enum Components {
3290
3290
///
3291
3291
/// - Remark: Generated from `#/components/schemas/code-scanning-default-setup/query_suite`.
3292
3292
public var querySuite: Components.Schemas.CodeScanningDefaultSetup.QuerySuitePayload?
3293
+
/// Threat model to be used for code scanning analysis. Use `remote` to analyze only network sources and `remote_and_local` to include local sources like filesystem access, command-line arguments, database reads, environment variable and standard input.
3294
+
///
3295
+
/// - Remark: Generated from `#/components/schemas/code-scanning-default-setup/threat_model`.
3296
+
@frozen public enum ThreatModelPayload: String, Codable, Hashable, Sendable, CaseIterable {
3297
+
case remote = "remote"
3298
+
case remoteAndLocal = "remote_and_local"
3299
+
}
3300
+
/// Threat model to be used for code scanning analysis. Use `remote` to analyze only network sources and `remote_and_local` to include local sources like filesystem access, command-line arguments, database reads, environment variable and standard input.
3301
+
///
3302
+
/// - Remark: Generated from `#/components/schemas/code-scanning-default-setup/threat_model`.
3303
+
public var threatModel: Components.Schemas.CodeScanningDefaultSetup.ThreatModelPayload?
3293
3304
/// Timestamp of latest configuration update.
3294
3305
///
3295
3306
/// - Remark: Generated from `#/components/schemas/code-scanning-default-setup/updated_at`.
@@ -3312,6 +3323,7 @@ public enum Components {
3312
3323
/// - runnerType: Runner type to be used.
3313
3324
/// - runnerLabel: Runner label to be used if the runner type is labeled.
3314
3325
/// - querySuite: CodeQL query suite to be used.
3326
+
/// - threatModel: Threat model to be used for code scanning analysis. Use `remote` to analyze only network sources and `remote_and_local` to include local sources like filesystem access, command-line arguments, database reads, environment variable and standard input.
3315
3327
/// - updatedAt: Timestamp of latest configuration update.
3316
3328
/// - schedule: The frequency of the periodic analysis.
/// - Remark: Generated from `#/components/schemas/code-scanning-default-setup-update/query_suite`.
3384
3399
public var querySuite: Components.Schemas.CodeScanningDefaultSetupUpdate.QuerySuitePayload?
3400
+
/// Threat model to be used for code scanning analysis. Use `remote` to analyze only network sources and `remote_and_local` to include local sources like filesystem access, command-line arguments, database reads, environment variable and standard input.
3401
+
///
3402
+
/// - Remark: Generated from `#/components/schemas/code-scanning-default-setup-update/threat_model`.
3403
+
@frozen public enum ThreatModelPayload: String, Codable, Hashable, Sendable, CaseIterable {
3404
+
case remote = "remote"
3405
+
case remoteAndLocal = "remote_and_local"
3406
+
}
3407
+
/// Threat model to be used for code scanning analysis. Use `remote` to analyze only network sources and `remote_and_local` to include local sources like filesystem access, command-line arguments, database reads, environment variable and standard input.
3408
+
///
3409
+
/// - Remark: Generated from `#/components/schemas/code-scanning-default-setup-update/threat_model`.
3410
+
public var threatModel: Components.Schemas.CodeScanningDefaultSetupUpdate.ThreatModelPayload?
3385
3411
/// - Remark: Generated from `#/components/schemas/code-scanning-default-setup-update/LanguagesPayload`.
3386
3412
@frozen public enum LanguagesPayloadPayload: String, Codable, Hashable, Sendable, CaseIterable {
3387
3413
case actions = "actions"
@@ -3409,25 +3435,29 @@ public enum Components {
3409
3435
/// - runnerType: Runner type to be used.
3410
3436
/// - runnerLabel: Runner label to be used if the runner type is labeled.
3411
3437
/// - querySuite: CodeQL query suite to be used.
3438
+
/// - threatModel: Threat model to be used for code scanning analysis. Use `remote` to analyze only network sources and `remote_and_local` to include local sources like filesystem access, command-line arguments, database reads, environment variable and standard input.
0 commit comments