https://drive.google.com/file/d/13FKQ5mxS9ZaH35ZgmQIfogpled1Dd7dc/view
{
"consumer": "generator",
"attempt_id": 10,
"TMserver": {
"Address": "192.168.23.15",
"APIToken": "1sgzx9q57e2jjiazqcqn",
"APIuser": "officer",
"APIuserPassword": "xxXX1234",
*"smtpDestinationServer": "192.168.23.15",*
*"smtpDestinationServerPort": 25*
},
"ADserver": {
*"ADEnable": "True",*
"Address": "192.168.23.3",
"ADshortsuffix": "demo",
"ADfullsuffix": "demo.lab",
"ADbaseDN": "cn=users, dc=demo, dc=lab",
"ADuserName": "administrator",
"ADuserPassword": "xxXX1234",
"ADMain_OU_Name": [],
"ADGroupList": ["Security", "Financial", "Accounting", "BOD", "HR", "Sales", "Tenders", "IT"],
*"getADWorkstation": "False"*
},
"variant": {
"events": [
{
"sender": "Sales",
"filename": "zd4/nepravilno.rtf",
"recipient": "External"
},
{
"sender": "Sales",
"filename": "zd4/Wordlskilz.rtf",
"recipient": "External"
},
{
"sender": "HR",
"filename": "zd5/dogovor.doc",
"recipient": "External"
},
{
"sender": "HR",
"filename": "zd5/dogovor_direktor.doc",
"recipient": "External"
},
{
"sender": "HR",
"filename": "zd5/dogovor_pechat.pdf",
"recipient": "External"
},
{
"sender": "HR",
"filename": "zd6/anketa.docx",
"recipient": "External"
},
{
"sender": "HR",
"filename": "zd6/anketa_pechat.pdf",
"recipient": "External"
},
{
"sender": "BOD",
"filename": "zd6/anketa.docx",
"recipient": "External"
},
{
"sender": "BOD",
"filename": "zd6/anketa_pechat.pdf",
"recipient": "External"
}
]
}
}
{
"consumer": "cabinet",
"attempt_id": 10,
"type": "success" или "error"
}
{
"consumer":"grader",
"attempt_id":10,
"DateAndTime":"2022-10-15-12-30", (перенес)
"TMserver":{
"Address": "192.168.23.15",
"APIToken": "1sgzx9q57e2jjiazqcqn",
"APIuser": "officer",
"APIuserPassword": "xxXX1234",
},
"ADserver":{
"Address": "192.168.23.3",
"ADshortsuffix": "demo",
"ADfullsuffix": "demo.lab",
"ADbaseDN": "cn=users, dc=demo, dc=lab",
"ADuserName": "administrator",
"ADuserPassword": "xxXX1234",
"ADMain_OU_Name": [],
"ADGroupList":
["Security", "Financial", "Accounting", "BOD", "HR", "Sales", "Tenders", "IT"],
},
"variant":{
"tasks":[
{
"task_name":"Задание 4",
"policy_name":"Политика 4",
"object_name":"Задание 4",
"max_mark_for_policies": 1.50,
"max_mark_for_objects": 0.50,
"errors": {
"big_error_in_policy": 0.50,
"small_error_in_policy": 0.20,
"error_in_object": 0.50
},
"events":[
{
"filename":"zd4/nepravilno.rtf",
"sender":"Sales",
"recipient":"External",
"policies":[
],
"objects":[
],
"verdict":"Allowed",
"violation_level":"No",
"tags":[
]
},
{
"filename":"zd4/Wordlskilz.rtf",
"sender":"Sales",
"recipient":"External",
"policies":[
"Политика 4"
],
"objects":[
"Задание 4"
],
"verdict":"Allowed",
"violation_level":"Medium",
"tags":[
"Политика 4"
]
}
]
},
{
"task_name":"Задание 5",
"policy_name":"Политика 5",
"object_name":"Задание 5",
"max_mark_for_policies": 1.50,
"max_mark_for_objects": 0.50,
"errors": {
"big_error_in_policy": 0.50,
"small_error_in_policy": 0.20,
"error_in_object": 0.50
},
"events":[
{
"filename":"zd5/dogovor.doc",
"sender":"HR",
"recipient":"External",
"policies":[
"Политика 5.1"
],
"objects":[
"Задание 5.1"
],
"verdict":"Allowed",
"violation_level":"Low",
"tags":[
"Политика 5"
]
},
{
"filename":"zd5/dogovor_direktor.doc",
"sender":"HR",
"recipient":"External",
"policies":[
"Политика 5.1",
"Политика 5.2"
],
"objects":[
"Задание 5.1",
"Задание 5.2"
],
"verdict":"Allowed",
"violation_level":"Medium",
"tags":[
"Политика 5"
]
},
{
"filename":"zd5/dogovor_pechat.pdf",
"sender":"HR",
"recipient":"External",
"policies":[
"Политика 5.1",
"Политика 5.2",
"Политика 5.3"
],
"objects":[
"Задание 5.1",
"Задание 5.2",
"Задание 5.3"
],
"verdict":"Forbidden",
"violation_level":"High",
"tags":[
"Политика 5"
]
}
]
},
{
"task_name":"Задание 6",
"policy_name":"Политика 6",
"object_name":"Задание 6",
"max_mark_for_policies": 1.50,
"max_mark_for_objects": 0.50,
"errors": {
"big_error_in_policy": 0.50,
"small_error_in_policy": 0.20,
"error_in_object": 0.50
},
"events":[
{
"filename":"zd6/anketa.docx",
"sender":"HR",
"recipient":"External",
"policies":[
],
"objects":[
],
"verdict":"Allowed",
"violation_level":"No",
"tags":[
]
},
{
"filename":"zd6/anketa_pechat.pdf",
"sender":"HR",
"recipient":"External",
"policies":[
"Политика 6"
],
"objects":[
"Задание 6"
],
"verdict":"Forbidden",
"violation_level":"Medium",
"tags":[
"Политика 6"
]
},
{
"filename":"zd6/anketa.docx",
"sender":"BOD",
"recipient":"External",
"policies":[
],
"objects":[
],
"verdict":"Allowed",
"violation_level":"No",
"tags":[
]
},
{
"filename":"zd6/anketa_pechat.pdf",
"sender":"BOD",
"recipient":"External",
"policies":[
],
"objects":[
"Задание 6"
],
"verdict":"Allowed",
"violation_level":"No",
"tags":[
]
}
]
}
]
}
}
{
"consumer":"cabinet",
"attempt_id":10,
"type": "success" или "error"
"sum_mark_for_policies": 4.50,
"sum_mark_for_objects": 1.50,
"variant":{
"tasks":[
{
"task_name":"Задание 4",
"mark_for_policies": 1.50,
"mark_for_objects": 0.50
},
{
"task_name":"Задание 5",
"mark_for_policies": 1.50,
"mark_for_objects": 0.50
},
{
"task_name":"Задание 6",
"mark_for_policies": 1.50,
"mark_for_objects": 0.50
]
}
}