Config/config.json

{
    "schemaVersion": "1.0",
    "certificate": {
        "thumbprint": "000000000000000000000000000000000000000A",
        "storeLocation": "CurrentUser",
        "requiredEkuOids": [
            "2.5.29.37",
            "1.3.6.1.4.1.311.80.1"
        ]
    },
    "hosting": {
        "model": "FlatFile",
        "flatFile": {
            "path": "%ProgramData%\\PWSHPUKMGT\\Data\\pukdata.json.cms",
            "cmsRecipientThumbprint": null
        },
        "activeDirectory": {
            "attributeName": "extensionAttribute15",
            "maxAttributeValueLength": 1024,
            "server": null,
            "searchBase": null
        }
    },
    "puk": {
        "minLength": 8,
        "maxLength": 8,
        "defaultLength": 8,
        "characterSet": "Digits",
        "maxGenerationAttempts": 1000,
        "weaknessRules": {
            "rejectSequentialRun": {
                "enabled": true,
                "runLength": 4
            },
            "rejectRepeatedDigitRun": {
                "enabled": true,
                "runLength": 3
            },
            "rejectLowUniqueDigitCount": {
                "enabled": true,
                "minUniqueDigits": 4
            },
            "rejectRepeatingPattern": {
                "enabled": true
            },
            "rejectPalindrome": {
                "enabled": false
            },
            "rejectDatePattern": {
                "enabled": false
            },
            "customDenyList": [
                "12345678",
                "87654321",
                "00000000",
                "11111111",
                "22222222",
                "33333333",
                "44444444",
                "55555555",
                "66666666",
                "77777777",
                "88888888",
                "99999999",
                "10203040",
                "11223344",
                "12121212"
            ]
        }
    },
    "logging": {
        "target": "File",
        "level": "Info",
        "file": {
            "path": "%USERPROFILE%\\Documents\\Logs\\POSH-UserPukMGT.log"
        },
        "eventLog": {
            "logName": "Application",
            "source": "PWSHPUKMGT",
            "eventId": 1000
        }
    }
}