Skip to content

Commit

Permalink
Update manifest and docs to 3.1.2 ***NO_CI***
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbarron committed Jul 20, 2021
1 parent 60c5eb9 commit 9771b11
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 44 deletions.
4 changes: 2 additions & 2 deletions VenafiPS/VenafiPS.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Greg Brownstein
#
# Generated on: 7/16/2021
# Generated on: 7/20/2021
#

@{
Expand All @@ -12,7 +12,7 @@
RootModule = 'VenafiPS.psm1'

# Version number of this module.
ModuleVersion = '3.1.1'
ModuleVersion = '3.1.2'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.1.2
- Add `-EventId` parameter to `Read-TppLog` to filter by a specific event id.
- Add EventId to `Read-TppLog` output. The value matches the hex value seen in Event Definitions in TPP.

## 3.1.1
- Add -UseBasicParsing to `Invoke-WebRequest` to avoid IE profile error

Expand Down
77 changes: 35 additions & 42 deletions docs/functions/Read-TppLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,10 @@ Read entries from the TPP log

## SYNTAX

### Default (Default)
```
Read-TppLog [-Severity <TppEventSeverity>] [-StartTime <DateTime>] [-EndTime <DateTime>] [-Text1 <String>]
[-Text2 <String>] [-Value1 <Int32>] [-Value2 <Int32>] [-First <Int32>] [-VenafiSession <VenafiSession>]
[<CommonParameters>]
```

### ByObject
```
Read-TppLog -InputObject <TppObject> [-Severity <TppEventSeverity>] [-StartTime <DateTime>]
[-EndTime <DateTime>] [-Text1 <String>] [-Text2 <String>] [-Value1 <Int32>] [-Value2 <Int32>] [-First <Int32>]
[-VenafiSession <VenafiSession>] [<CommonParameters>]
```

### ByPath
```
Read-TppLog -Path <String> [-Severity <TppEventSeverity>] [-StartTime <DateTime>] [-EndTime <DateTime>]
[-Text1 <String>] [-Text2 <String>] [-Value1 <Int32>] [-Value2 <Int32>] [-First <Int32>]
[-VenafiSession <VenafiSession>] [<CommonParameters>]
Read-TppLog [[-Path] <String>] [[-EventId] <String>] [[-Severity] <TppEventSeverity>] [[-StartTime] <DateTime>]
[[-EndTime] <DateTime>] [[-Text1] <String>] [[-Text2] <String>] [[-Value1] <Int32>] [[-Value2] <Int32>]
[[-First] <Int32>] [[-VenafiSession] <VenafiSession>] [<CommonParameters>]
```

## DESCRIPTION
Expand All @@ -45,33 +30,40 @@ $capiObject | Read-TppLog

Find all events for a specific object

### EXAMPLE 3
```
Read-TppLog -EventId '00130003'
```

Find all events with event ID '00130003', Certificate Monitor - Certificate Expiration Notice

## PARAMETERS

### -InputObject
TppObject which represents a unique object to search for related records
### -Path
Path to search for related records

```yaml
Type: TppObject
Parameter Sets: ByObject
Aliases:
Type: String
Parameter Sets: (All)
Aliases: DN

Required: True
Position: Named
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -Path
Path to search for related records
### -EventId
Event ID as found in Logging-\>Event Definitions
```yaml
Type: String
Parameter Sets: ByPath
Aliases: DN
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -87,7 +79,7 @@ Aliases:
Accepted values: Emergency, Alert, Critical, Error, Warning, Notice, Info, Debug

Required: False
Position: Named
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -102,7 +94,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -117,7 +109,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -132,7 +124,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -147,7 +139,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -162,7 +154,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Position: 8
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -177,7 +169,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Position: 9
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -193,7 +185,7 @@ Parameter Sets: (All)
Aliases: Limit

Required: False
Position: Named
Position: 10
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -209,7 +201,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Position: 11
Default value: $script:VenafiSession
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -220,10 +212,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## INPUTS
### InputObject
### Path
## OUTPUTS
### PSCustomObject with properties:
### EventId
### ClientTimestamp
### Component
### ComponentId
Expand Down

0 comments on commit 9771b11

Please sign in to comment.