Module/Rule.IISLogging/Convert/Data.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

data regularExpression
{
    ConvertFrom-StringData -StringData @'
        customFields = >>
        logFlags = (?<=(")?Select Fields(")?, verify at a minimum the following fields are checked:).+(?=\.)
        logFormat = Verify the "Format:" under "Log File" is configured to
        logPeriod = Verify a schedule is configured to rollover log files
        logTargetW3c = Under Log Event Destination, verify the
        standardFieldEntries = "([^"]*)"
        standardFields = (?<=Under "Standard Fields",).+
'@

}

data logflagsConstant
{
    ConvertFrom-StringData -StringData @'
        Client IP Address = ClientIP
        Date = Date
        Method = Method
        Protocol Status = HttpStatus
        Referrer = Referer
        and Referrer = Referer
        Time = Time
        URI Query = UriQuery
        User Agent = UserAgent
        User Name = UserName
'@

}