StigSourceProfileConfig

data class StigSourceProfileConfig(val name: String, val implementationRoot: String? = null, val build: StigBuildConfig? = null, val interfacePointMode: InterfacePointMode? = null, val interfacePointLocation: String? = null, val remoteUrl: String? = null, val remotePath: String? = null, val commit: String? = null, val commitRef: CommitRef? = null, val codeBrowser: CodeBrowser = CodeBrowser.AUTO, val editRef: String? = null, val gitOwnership: GitOwnership = GitOwnership.CHECKOUT)

Constructors

Link copied to clipboard
constructor(name: String, implementationRoot: String? = null, build: StigBuildConfig? = null, interfacePointMode: InterfacePointMode? = null, interfacePointLocation: String? = null, remoteUrl: String? = null, remotePath: String? = null, commit: String? = null, commitRef: CommitRef? = null, codeBrowser: CodeBrowser = CodeBrowser.AUTO, editRef: String? = null, gitOwnership: GitOwnership = GitOwnership.CHECKOUT)

Properties

Link copied to clipboard
Link copied to clipboard

Source-browser URL dialect. AUTO recognizes standard GitHub/GitLab hosts.

Link copied to clipboard

Explicit commit SHA (or branch/tag name) for source-browse links, overriding the one read from the checkout's HEAD. Use when the local HEAD is not pushed to the remote (e.g. a local stig analysis branch) — set this to a commit that exists on the remote so that generated GitHub links resolve correctly.

Link copied to clipboard

Strategy for choosing the commit used in source-browse links. When set, takes priority over commit:

Link copied to clipboard

Optional remote branch override used only for edit links.

Link copied to clipboard

History owner for provenance and source links; does not change implementationRoot.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Optional path inside remoteUrl that corresponds to implementationRoot. Use this when the local configured root is a subdirectory of the remote repository, e.g. remotePath = "models/stig-project".

Link copied to clipboard

Explicit source-browse base URL for this repo, overriding the one derived from its git origin remote. Accepts either the SSH (git@host:org/repo.git) or HTTPS form — normalized to https://host/org/repo. Use when the checkout has no usable origin remote (CI export, multi-remote, faked local mirror). The commit still comes from the checkout's HEAD unless commit is set.

Generated with STIG