Plan OPNsense POSIX root scripts with explicit device policy, profile and approval
This commit is contained in:
@@ -71,6 +71,7 @@ export function latestRevisions(revisions: Revision[]) {
|
||||
}
|
||||
|
||||
export function devicePlatform(row: RecordValue) {
|
||||
if (row.source_id === 'opnsense.base') return 'opnsense';
|
||||
if (row.source_id === 'windows.base') return 'windows';
|
||||
if (row.source_id === 'linux.base') return 'linux';
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user