2020-12-01 15:45:09 +00:00
|
|
|
export default {
|
2021-05-04 16:25:57 +00:00
|
|
|
Name: item => item.Name,
|
|
|
|
Description: item => item.Description,
|
|
|
|
Policy: item => {
|
2020-12-18 10:38:15 +00:00
|
|
|
return (item.Policies || [])
|
|
|
|
.map(item => item.Name)
|
|
|
|
.concat((item.ServiceIdentities || []).map(item => item.ServiceName))
|
|
|
|
.concat((item.NodeIdentities || []).map(item => item.NodeName));
|
2020-12-01 15:45:09 +00:00
|
|
|
},
|
|
|
|
};
|