This commit is contained in:
2024-05-31 14:05:21 +03:00
parent 84b7a80e1b
commit db1760cb72
815 changed files with 58194 additions and 11049 deletions

View File

@@ -87,10 +87,20 @@ func dataSourceAuditListSchemaMake() map[string]*schema.Schema {
Optional: true,
Description: "find by api endpoint (Mongo RegExp supported)",
},
"status_code": {
"min_status_code": {
Type: schema.TypeInt,
Optional: true,
Description: "find by HTTP status code",
Description: "find by HTTP min status code",
},
"max_status_code": {
Type: schema.TypeInt,
Optional: true,
Description: "find by HTTP max status code",
},
"sort_by": {
Type: schema.TypeString,
Optional: true,
Description: "sort by one of supported fields, format +|-(field)",
},
"page": {
Type: schema.TypeInt,
@@ -161,6 +171,11 @@ func dataSourceLinkedJobsSchemaMake() map[string]*schema.Schema {
Computed: true,
Description: "cmd",
},
"guid": {
Type: schema.TypeString,
Computed: true,
Description: "guid",
},
"nid": {
Type: schema.TypeInt,
Computed: true,