Edit

CodeQLScheduleDetails interface

Contains the CodeQL default setup schedule configuration for an organization.

Properties

lastRunDate

The date and time (UTC) when the CodeQL default setup job last ran for this organization. Null if the job has never successfully run.

lastRunResult

The result code of the last job execution. 0=Succeeded, 1=PartiallySucceeded, 2=Failed, etc. Null if the job has never run.

scheduleDayOfWeek

The day of the week (0=Sunday through 6=Saturday) when the CodeQL default setup scan should run. A value of -1 means no custom schedule is configured and the job runs on its default cadence.

Property Details

lastRunDate

The date and time (UTC) when the CodeQL default setup job last ran for this organization. Null if the job has never successfully run.

lastRunDate: Date

Property Value

Date

lastRunResult

The result code of the last job execution. 0=Succeeded, 1=PartiallySucceeded, 2=Failed, etc. Null if the job has never run.

lastRunResult: number

Property Value

number

scheduleDayOfWeek

The day of the week (0=Sunday through 6=Saturday) when the CodeQL default setup scan should run. A value of -1 means no custom schedule is configured and the job runs on its default cadence.

scheduleDayOfWeek: number

Property Value

number