mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2025-01-29 06:42:24 +01:00
Correcting schema
This commit is contained in:
parent
ce36f924fc
commit
ee011e6281
@ -4,20 +4,20 @@ mapping:
|
||||
# Id field enhancement possibility commenting out for now
|
||||
# "Id":
|
||||
# type: str
|
||||
# required: yes
|
||||
# required: true
|
||||
# pattern: '[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}'
|
||||
"Name":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
"Description":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
"Author":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
"Created":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
"Commands":
|
||||
type: seq
|
||||
sequence:
|
||||
@ -25,39 +25,39 @@ mapping:
|
||||
mapping:
|
||||
"Command":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
"Description":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
"Usecase":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
"Category":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
enum: [ADS, AWL Bypass, Compile, Copy, Credentials, Decode, Download, Dump, Encode, Execute, Reconnaissance, UAC Bypass, Upload]
|
||||
"Privileges":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
"MitreID":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
pattern: 'T[0-9]{4}'
|
||||
"OperatingSystem":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
"Full_Path":
|
||||
type: seq
|
||||
required: yes
|
||||
required: true
|
||||
sequence:
|
||||
- type: map
|
||||
mapping:
|
||||
"Path":
|
||||
type: str
|
||||
required: yes
|
||||
required: true
|
||||
"Code_Sample":
|
||||
type: seq
|
||||
required: yes
|
||||
required: true
|
||||
sequence:
|
||||
- type: map
|
||||
mapping:
|
||||
@ -65,7 +65,7 @@ mapping:
|
||||
type: str
|
||||
"Detection":
|
||||
type: seq
|
||||
required: yes
|
||||
required: true
|
||||
sequence:
|
||||
- type: map
|
||||
mapping:
|
||||
@ -73,7 +73,7 @@ mapping:
|
||||
type: str
|
||||
"Resources":
|
||||
type: seq
|
||||
required: yes
|
||||
required: true
|
||||
sequence:
|
||||
- type: map
|
||||
mapping:
|
||||
@ -82,7 +82,7 @@ mapping:
|
||||
pattern: 'http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+'
|
||||
"Acknowledgement":
|
||||
type: seq
|
||||
required: yes
|
||||
required: true
|
||||
sequence:
|
||||
- type: map
|
||||
mapping:
|
||||
|
Loading…
Reference in New Issue
Block a user