-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8977 from Azure/New-Schemas
New ASIM Schema YAML files
- Loading branch information
Showing
6 changed files
with
301 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
Schema: | ||
Schema: Dhcp | ||
Version: '0.1.0' | ||
Last Updated: Sept 12 2023 | ||
References: | ||
- Title: ASIM DHCP Schema | ||
Link: https://aka.ms/ASimDhcpDoc | ||
- Title: ASIM | ||
Link: https://aka.ms/AboutASIM | ||
|
||
Include: | ||
|
||
# Metadata | ||
- Name: Enumerations | ||
File: common/ASimEnumerations.yaml | ||
|
||
# Common fields | ||
- Name: Event Fields | ||
File: common/ASimEventFields.yaml | ||
- Name: Inspection fields | ||
File: common/ASimInspectionFields.yaml | ||
|
||
# Entities | ||
- Name: Dvc | ||
File: common/ASimDvc.yaml | ||
- Name: Source user entity | ||
File: entities/ASimUser.yaml | ||
Role: Src | ||
- Name: Source system entity | ||
File: entities/ASimSystem.yaml | ||
Role: Src | ||
|
||
Fields: | ||
# Common fields overrides and additions | ||
- Name: EventType | ||
Type: string | ||
Class: Mandatory | ||
Logical type: Enumerated | ||
List of values: [ Assign, Renew, Release, DNS Update ] | ||
Description: Indicate the operation reported by the record. | ||
|
||
- Name: EventSchema | ||
Type: string | ||
Class: Mandatory | ||
Logical type: Enumerated | ||
List of values: [ Dhcp ] | ||
|
||
# Aliases | ||
- Name: User | ||
Type: string | ||
Class: Alias | ||
Logical type: Username | ||
Description: Alias for SrcUsername | ||
Aliases: SrcUsername | ||
|
||
- Name: IpAddr | ||
Type: string | ||
Class: Alias | ||
Logical type: IP Address | ||
Description: Alias to SrcIpAddr | ||
Aliases: SrcIpAddr | ||
|
||
- Name: Hostname | ||
Type: string | ||
Class: Alias | ||
Description: Alias to SrcHostname | ||
Aliases: SrcHostname | ||
|
||
# DHCP event fields | ||
- Name: RequestedIpAddr | ||
Class: Optional | ||
Type: string | ||
Description: The IP address requested by the DHCP client, when available. | ||
Example: '192.168.12.3' | ||
|
||
- Name: DhcpLeaseDuration | ||
Class: Optional | ||
Type: integer | ||
Description: The length of the lease granted to a client, in seconds. | ||
|
||
- Name: DhcpSessionId | ||
Class: Optional | ||
Type: string | ||
Description: The session identifier as reported by the reporting device. For the Windows DHCP server, set this to the TransactionID field. | ||
Example: '2099570186' | ||
|
||
- Name: SessionId | ||
Class: Alias | ||
Type: string | ||
Description: Alias to DhcpSessionId. | ||
Aliases: DhcpSessionId | ||
|
||
- Name: DhcpSessionDuration | ||
Class: Optional | ||
Type: Integer | ||
Description: The amount of time, in milliseconds, for the completion of the DHCP session. | ||
Example: 1500 | ||
|
||
- Name: Duration | ||
Class: Alias | ||
Type: Integer | ||
Description: Alias to DhcpSessionDuration | ||
Aliases: DhcpSessionDuration | ||
|
||
- Name: DhcpSrcDHCId | ||
Class: Optional | ||
Type: string | ||
Description: The DHCP client ID, as defined by RFC4701. | ||
|
||
- Name: DhcpCircuitId | ||
Class: Recommended | ||
Type: string | ||
Description: The DHCP circuit ID, as defined by RFC3046. | ||
|
||
- Name: DhcpSubscriberId | ||
Class: Optional | ||
Type: string | ||
Description: The DHCP subscriber ID, as defined by RFC3993. | ||
|
||
- Name: DhcpVendorClassId | ||
Class: Optional | ||
Type: string | ||
Description: The DHCP Vendor Class Id, as defined by RFC3925. | ||
|
||
- Name: DhcpVendorClass | ||
Class: Optional | ||
Type: string | ||
Description: The DHCP Vendor Class, as defined by RFC3925. | ||
|
||
- Name: DhcpUserClassId | ||
Class: Optional | ||
Type: string | ||
Description: The DHCP User Class Id, as defined by RFC3004. | ||
|
||
- Name: DhcpUserClass | ||
Class: Optional | ||
Type: string | ||
Description: The DHCP User Class, as defined by RFC3004. | ||
|
||
- Name: SrcMacAddr | ||
Class: Optional | ||
Type: string | ||
Description: The MAC address of the network interface from which the connection or session originated. | ||
Example: '06:10:9f:eb:8f:14' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.