Class SecretScanning
-
- All Implemented Interfaces:
-
io.typeflows.fs.TypeflowsFSEntry,io.typeflows.util.Named,io.typeflows.util.Renderable
public final class SecretScanning extends TypeflowsFile<YamlContent>Represents GitHub's secret scanning configuration.
This class generates the secret_scanning.yml file that configures which paths should be ignored during GitHub's automatic secret scanning process. Secret scanning helps prevent accidentally committed secrets from being exposed in your repository.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSecretScanning.DSLpublic classSecretScanning.Companion
-
Field Summary
Fields Modifier and Type Field Description public final List<String>pathsIgnoreprivate final Stringnamepublic final static SecretScanning.CompanionCompanion
-
Method Summary
Modifier and Type Method Description StringgetName()YamlContentrender()final static SecretScanningcreate(Configure<SecretScanning.DSL> block)Creates and configures a SecretScanning instance. final static SecretScanningcreate()Creates and configures a SecretScanning instance. -
Methods inherited from class io.typeflows.fs.TypeflowsFile
writeTo -
Methods inherited from class io.typeflows.util.Base
equals, hashCode, toString -
Methods inherited from class io.typeflows.fs.TypeflowsFSEntry
plus -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
render
YamlContent render()
-
create
@JvmOverloads() final static SecretScanning create(Configure<SecretScanning.DSL> block)
Creates and configures a SecretScanning instance.
- Parameters:
block- Configuration lambda to set up the secret scanning configuration- Returns:
Configured SecretScanning instance
-
create
@JvmOverloads() final static SecretScanning create()
Creates and configures a SecretScanning instance.
- Returns:
Configured SecretScanning instance
-
-
-
-