MCPcopy Create free account

hub / github.com/alpha-omega-security/scrutineer / types & classes

Types & classes203 in github.com/alpha-omega-security/scrutineer

↓ 3 callersStructpos
internal/web/server_test.go:1117
↓ 1 callersTypeAliasFindingLifecycle
internal/db/db.go:336
StructAdvisory
Advisory is a known security advisory from advisories.ecosyste.ms.
internal/db/db.go:390
StructAuditMetrics
AuditMetrics is the aggregate breakdown the audit page surfaces. AgreementRate is the share of reviews where the human verdict matches the automation'
internal/db/audit.go:104
StructAuditQueueOptions
AuditQueueOptions filters the audit queue. Limit caps result count (the queue is for spot-checking, not exhaustive review). Since is a freshness cutof
internal/db/audit.go:58
StructBroker
Broker fans SSE events from the worker to connected HTTP clients.
internal/web/sse.go:35
StructCNA
CNA is a CVE Numbering Authority from the public cve.org partner list. Stored so the disclosure workflow can route a finding to the CNA whose scope co
internal/db/db.go:1188
StructCWE
CWE is one entry from the MITRE catalogue. The JSON is generated from the CWE XML download; see development.md. Category is the View-1400 ("Comprehens
internal/web/cwe.go:20
StructClaudeAccountError
ClaudeAccountError is returned for account-level Claude failures. The worker pauses the batch instead of failing every scan; Detail preserves Claude's
internal/worker/claude_limit.go:18
StructClaudeHarness
ClaudeHarness is the default and (for now) only harness: it wraps the existing buildClaudeArgs and ParseStream so behaviour is byte-for-byte unchanged
internal/worker/harness.go:84
StructConfig
Config mirrors the supported YAML keys. Every field is optional; missing fields leave the corresponding flag at its built-in default.
internal/config/config.go:24
StructContainerRunner
ContainerRunner launches claude inside an ephemeral container with the scan workspace (clone + staged skill + output file) mounted at /work. It drives
internal/worker/container.go:30
StructContainerRuntime
ContainerRuntime identifies the OCI engine scrutineer shells out to and the main trait that changes the generated `run` flags: rootless podman maps --
internal/worker/runtime.go:33
StructDayUsage
DayUsage is one row of the /usage?view=day table: total cost and token spend for all skill scans that finished on a given calendar day.
internal/web/usage.go:26
StructDepGroup
DepGroup is a dependency deduplicated by name+ecosystem, with all manifest paths and the best version (lockfile wins over manifest).
internal/web/server.go:2438
StructDependency
Dependency is one package dependency discovered by the git-pkgs job. Rows are replaced wholesale each time the job runs for a repository.
internal/db/db.go:428
StructDependencyFinding
DependencyFinding is one finding on a library that the given application depends on. Returned by DependencyFindings; consumed by the reachability skil
internal/db/ecosystem.go:119
StructDependent
Dependent is a package that depends on one of this repo's packages. Populated by the ecosystems dependents prefetch from packages.ecosyste.ms.
internal/db/db.go:410
StructDiffRow
internal/web/threat_workbench.go:56
StructEffort
Effort is a display label paired with the claude `--effort` level it selects. The settings page renders these as a row of buttons in order, fastest to
internal/web/efforts.go:7
StructEgressProxy
EgressProxy is a small forward proxy the container runner points HTTPS_PROXY/HTTP_PROXY at. It only tunnels to hosts on Allow. Clients must present To
internal/worker/egress.go:134
StructEgressSidecarConfig
EgressSidecarConfig carries what setupHardenedNetwork needs to launch the egress proxy as a sidecar container under rootless --hardened. The zero valu
internal/worker/container.go:91
StructEvent
Event is one line of activity from a claude -p stream-json run, flattened into something a human can read in a log view.
internal/worker/stream.go:26
StructEvent
Event is one SSE message. Name maps to the htmx sse-swap attribute; Data is the HTML fragment (or plain text) to swap in.
internal/web/sse.go:17
StructFailOnThresholdError
FailOnThresholdError is returned when a scan's findings include at least one at or above the skill's fail_on severity. wrap() treats it as a completed
internal/worker/skill.go:646
StructFinding
Finding is the format-neutral subset of an external report entry. Field names mirror db.Finding; the web layer copies them across.
internal/ingest/ingest.go:64
StructFinding
Finding is one vulnerability reported by a scan. The Finding row holds the current value of every mutable field; FindingHistory records who changed ea
internal/db/db.go:474
StructFindingCommunication
FindingCommunication is one external interaction about a finding: an email to the maintainer, an inbound reply, a GHSA submission, etc. Kept distinct
internal/db/db.go:726
StructFindingDependent
FindingDependent records, per (finding, dependent), whether that downstream consumer of the vulnerable library reaches the sink. Status mirrors the CS
internal/db/db.go:806
StructFindingHistory
FindingHistory records every change to a mutable field on a Finding. Together with the Finding row's current columns it gives you "what is the current
internal/db/db.go:825
StructFindingLabel
FindingLabel is a tag independent of the lifecycle status. A finding can carry multiple labels (wontfix, needs-info, regression, etc.).
internal/db/db.go:703
StructFindingNote
FindingNote is one timestamped internal analyst note about a finding. Replaces the old single Notes column so the comment trail is preserved.
internal/db/db.go:713
StructFindingReference
FindingReference is an external URL related to a finding: the upstream issue/PR, a CVE or GHSA record, a fix commit, a blog post.
internal/db/db.go:744
TypeAliasFindingResolution
FindingResolution says how a finding got resolved. Set by the analyst once disclosure runs its course.
internal/db/db.go:448
StructFindingReview
FindingReview is a structured human verdict against an automation outcome. Verdict mirrors the revalidate skill's enum so reviewer agreement with the
internal/db/db.go:846
TypeAliasFindingSource
FindingSource is the provenance of a field value: produced by a deterministic tool, suggested by a model-backed skill, or set by the analyst. Analyst
internal/db/db.go:461
StructFlash
Flash is a one-shot message carried across a redirect via the "flash" cookie and rendered server-side into #toaster on the next page load.
internal/web/server.go:427
TypeAliasFormat
Format names the detected input encoding. Exposed so callers can log what was parsed.
internal/ingest/ingest.go:108
InterfaceHarness
A Harness is the agent CLI the container runner execs to drive a skill. It owns everything that varies between claude-code and an alternative agent (c
internal/worker/harness.go:21
StructLocalClaude
internal/worker/claude.go:112
StructMaintainer
Maintainer is a person who maintains one or more repositories. The centre of the disclosure CRM: findings batch into conversations per maintainer, not
internal/db/db.go:313
TypeAliasMaintainerStatus
internal/db/db.go:302
StructMaxTurnsReachedError
MaxTurnsReachedError is returned when claude-code exits after hitting the --max-turns cap. The caller should treat this as a soft completion.
internal/worker/claude.go:25
StructModel
Model is a display-name → claude model id pair offered in the UI.
internal/web/models.go:12
StructModel
Model is a display-name plus the claude model id it resolves to. The shape matches web.Model so main.go can pipe one into the other without the two pa
internal/config/config.go:179
StructModelTier
ModelTier is an operator-facing role whose concrete model can be swapped in Settings without editing every skill that uses that role.
internal/web/models.go:19
StructOrgImportPreview
OrgImportPreview carries the confirmation-step data: how many repos a given org/filters combination would queue, plus the inputs needed to re-submit t
internal/web/org_import.go:141
StructOrgRepo
OrgRepo is the slim view of a forge repository the org-import path needs: enough to build a clone URL and apply the fork/archived filters.
internal/web/org_import.go:17
StructPackage
Package is one registry entry from packages.ecosyste.ms linked to this repo.
internal/db/db.go:280
StructPage
internal/web/server.go:532
StructParsed
Parsed is a SKILL.md-plus-neighbours as extracted from disk. It mirrors the Skill model shape so the caller can persist it without further work.
internal/skills/parse.go:122
StructPayload
Payload is what travels on the queue. The job handler looks up the Scan row by ID; everything else (repo URL, kind) hangs off that record so the queue
internal/queue/queue.go:31
StructProfile
Profile selects a per-ecosystem runner image. The default profile (empty name) uses the runner image configured globally; named profiles build a Docke
internal/worker/profile.go:54
StructProfileMarker
ProfileMarker refines profile selection beyond what brief reports.
internal/worker/profile.go:22
StructQueue
internal/queue/queue.go:36
StructRateLimitInfo
RateLimitInfo is the subscription limit status claude-code reports in a rate_limit_event line; it feeds auto-resume and the usage page panel.
internal/worker/stream.go:39
StructRepoInput
RepoInput is the parsed form of a user-supplied repository reference. CloneURL is what scrutineer passes to `git clone`; SubPath is the sub-folder wit
internal/web/parse_repo_url.go:32
StructRepoUnreachableError
RepoUnreachableError is returned when git clone/fetch fails because the remote is unreachable (deleted, private, wrong URL, network error).
internal/worker/clone.go:19
StructRepository
internal/db/db.go:22
StructResult
Result is one batch of findings against one repository from one tool. A single uploaded file can yield several Results when it contains multiple SARIF
internal/ingest/ingest.go:48
StructRunnerImageStatus
RunnerImageStatus is the result of the boot-time runner-image staleness check, surfaced in the boot log and as a banner on the Settings page. The zero
internal/worker/staleness.go:33
StructRunnerToolVersions
RunnerToolVersions holds the versions of the analysis tools baked into the runner image. Any field is "" when its tool could not be queried.
internal/worker/versions.go:94
StructSBOMPackage
SBOMPackage is one component listed in an upload. RepositoryID is set asynchronously once the PURL has been resolved to a source repo and the triage s
internal/db/db.go:1161
StructSBOMUpload
SBOMUpload is one CycloneDX or SPDX document a user uploaded. Packages are replaced wholesale on re-upload (cascade delete) but the resolved Repositor
internal/db/db.go:1142
StructScan
Scan is one execution of a job against a repository. Kind names the job ("claude", later "semgrep", "brief", "git-pkgs"). Report holds whatever the jo
internal/db/db.go:143
StructScanOpts
ScanOpts carries the optional inputs to an enqueue call. Keeps the enqueue signature from drifting into an unreadable positional list as new options (
internal/web/server.go:2296
TypeAliasScanStatus
internal/db/db.go:128
StructSchemaValidationError
SchemaValidationError carries the formatted validator output for a report that did not match its skill's schema. wrap() treats it like FailOnThreshold
internal/worker/schema_validate.go:14
StructServer
internal/web/server.go:57
StructSetting
Setting is a persisted operator-tunable key/value. It backs the runtime knobs the Settings page exposes (concurrency, default turn cap) so a change su
internal/db/settings.go:13
StructSkill
Skill is one scan recipe expressed as a claude-code skill. It maps 1:1 to the agentskills.io SKILL.md format: Body is the markdown that sits after the
internal/db/db.go:871
StructSkillJob
SkillJob is a scan driven by an on-disk claude-code skill. The runner clones the repo, stages the skill under .claude/skills/{Name}/ next to the clone
internal/worker/claude.go:50
StructSkillResult
internal/worker/claude.go:98
InterfaceSkillRunner
SkillRunner executes one skill scan. Tests and the container-backed runner substitute the process launch without touching the queue plumbing.
internal/worker/claude.go:31
StructSkillUsage
SkillUsage is one row of the /usage page: aggregate cost and turn statistics for every completed scan of a given skill across the corpus. Percentiles
internal/web/usage.go:15
StructStats
internal/web/usage.go:34
StructSubproject
Subproject is a scannable unit the subprojects skill discovered inside a repository. One Repository has many Subprojects; each Scan may refer to one o
internal/db/db.go:1213
StructUsage
Usage is the token breakdown from a result event.
internal/worker/stream.go:70
StructWorkbench
Workbench is the template payload for the workbench tab.
internal/web/threat_workbench.go:26
StructWorkbenchDiff
WorkbenchDiff buckets sinks by how their outcome changed between two deep-dive runs. A sink is keyed by its inventory location (file:line) since the p
internal/web/threat_workbench.go:44
StructWorker
internal/worker/worker.go:62
StructadvisoryResponse
internal/web/api_reads.go:101
StructaggRow
SQLite returns MAX() over a datetime column as a string; scan into a string and parse to *time.Time ourselves rather than fight GORM.
internal/web/orgs.go:50
StructapiCtxKey
internal/web/api.go:34
StructassistantMsg
internal/worker/stream.go:91
StructblockingRunner
internal/worker/worker_test.go:48
StructbundleEntry
bundleEntry is one file written into the archive: path inside the tar plus its raw contents.
internal/web/finding_bundle.go:93
StructbundleManifest
bundleManifest is the small header file the disclosure bundle carries alongside the per-format documents. It names the finding, fixes the generator ve
internal/web/finding_bundle.go:27
Structc
internal/web/orgs.go:68
Structcall
internal/worker/runtime_test.go:165
StructcaptureRunner
captureRunner records the SkillJob it was handed so a test can assert how the worker resolved per-scan inputs.
internal/worker/max_turns_test.go:17
Structclient
internal/web/sse.go:28
StructcnaEntry
internal/worker/cna.go:67
StructcontentBlock
internal/worker/stream.go:95
StructcsafBranch
internal/web/finding_csaf.go:200
StructcsafCVSSv3
internal/web/finding_csaf.go:257
StructcsafCWE
internal/web/finding_csaf.go:234
StructcsafDistrib
internal/web/finding_csaf.go:157
StructcsafDocMeta
internal/web/finding_csaf.go:146
StructcsafDocument
internal/web/finding_csaf.go:140
next →1–100 of 203, ranked by callers