@pnp/cli-microsoft365 6.8.0-beta.62006d7 → 6.8.0-beta.74dea8a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +2 -0
- package/.mocharc.json +1 -0
- package/README.md +6 -1
- package/dist/m365/commands/commands.js +1 -0
- package/dist/m365/commands/docs.js +42 -0
- package/dist/m365/commands/login.js +1 -1
- package/dist/m365/pa/commands/app/app-consent-set.js +101 -0
- package/dist/m365/pa/commands.js +1 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +97 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +85 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +89 -0
- package/dist/m365/purview/commands.js +3 -0
- package/dist/m365/spo/commands/file/file-checkin.js +8 -3
- package/dist/m365/spo/commands/file/file-checkout.js +8 -3
- package/dist/m365/spo/commands/file/file-copy.js +4 -4
- package/dist/m365/spo/commands/file/file-get.js +3 -1
- package/dist/m365/spo/commands/file/file-list.js +17 -6
- package/dist/m365/spo/commands/file/file-move.js +6 -7
- package/dist/m365/spo/commands/file/file-remove.js +6 -12
- package/dist/m365/spo/commands/file/file-rename.js +3 -3
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +2 -1
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +3 -3
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +2 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +2 -1
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +4 -2
- package/dist/m365/spo/commands/file/file-version-clear.js +3 -1
- package/dist/m365/spo/commands/file/file-version-get.js +3 -1
- package/dist/m365/spo/commands/file/file-version-remove.js +3 -1
- package/dist/m365/spo/commands/file/file-version-restore.js +3 -1
- package/dist/m365/spo/commands/folder/folder-copy.js +4 -4
- package/dist/m365/spo/commands/folder/folder-get.js +5 -2
- package/dist/m365/spo/commands/folder/folder-move.js +3 -2
- package/dist/m365/spo/commands/folder/folder-rename.js +5 -2
- package/dist/m365/spo/commands/list/list-get.js +30 -3
- package/dist/m365/spo/commands/list/list-list.js +39 -2
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-list.js +46 -1
- package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +119 -0
- package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +106 -0
- package/dist/m365/spo/commands/term/term-add.js +13 -4
- package/dist/m365/spo/commands/term/term-get.js +14 -5
- package/dist/m365/spo/commands/term/term-group-get.js +12 -3
- package/dist/m365/spo/commands/term/term-group-list.js +39 -4
- package/dist/m365/spo/commands/term/term-list.js +18 -9
- package/dist/m365/spo/commands/term/term-set-add.js +13 -4
- package/dist/m365/spo/commands/term/term-set-get.js +12 -3
- package/dist/m365/spo/commands/term/term-set-list.js +12 -3
- package/dist/m365/spo/commands.js +3 -0
- package/dist/utils/spo.js +1 -1
- package/docs/docs/cmd/aad/o365group/o365group-get.md +0 -12
- package/docs/docs/cmd/cli/cli-consent.md +6 -0
- package/docs/docs/cmd/cli/cli-doctor.md +17 -0
- package/docs/docs/cmd/cli/cli-issue.md +6 -0
- package/docs/docs/cmd/cli/cli-reconsent.md +6 -0
- package/docs/docs/cmd/cli/completion/completion-sh-setup.md +6 -0
- package/docs/docs/cmd/cli/config/config-get.md +6 -0
- package/docs/docs/cmd/docs.md +51 -0
- package/docs/docs/cmd/login.md +1 -1
- package/docs/docs/cmd/pa/app/app-consent-set.md +47 -0
- package/docs/docs/cmd/planner/task/task-get.md +0 -6
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.md +118 -0
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.md +111 -0
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.md +97 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +17 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +17 -0
- package/docs/docs/cmd/spo/file/file-add.md +1 -1
- package/docs/docs/cmd/spo/file/file-checkin.md +1 -1
- package/docs/docs/cmd/spo/file/file-checkout.md +1 -1
- package/docs/docs/cmd/spo/file/file-copy.md +1 -1
- package/docs/docs/cmd/spo/file/file-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-list.md +9 -6
- package/docs/docs/cmd/spo/file/file-move.md +3 -3
- package/docs/docs/cmd/spo/file/file-remove.md +12 -0
- package/docs/docs/cmd/spo/file/file-rename.md +1 -1
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.md +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.md +2 -2
- package/docs/docs/cmd/spo/file/file-roleassignment-add.md +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-add.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-clear.md +2 -2
- package/docs/docs/cmd/spo/file/file-version-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-list.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-remove.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-restore.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-add.md +9 -3
- package/docs/docs/cmd/spo/folder/folder-copy.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-get.md +7 -7
- package/docs/docs/cmd/spo/folder/folder-list.md +11 -11
- package/docs/docs/cmd/spo/folder/folder-move.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-remove.md +7 -7
- package/docs/docs/cmd/spo/folder/folder-rename.md +11 -5
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.md +3 -3
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +4 -4
- package/docs/docs/cmd/spo/list/list-get.md +10 -0
- package/docs/docs/cmd/spo/list/list-list.md +28 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +19 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +12 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +6 -0
- package/docs/docs/cmd/spo/page/page-column-get.md +15 -0
- package/docs/docs/cmd/spo/page/page-column-list.md +16 -0
- package/docs/docs/cmd/spo/page/page-control-get.md +18 -0
- package/docs/docs/cmd/spo/page/page-control-list.md +18 -0
- package/docs/docs/cmd/spo/page/page-copy.md +35 -0
- package/docs/docs/cmd/spo/page/page-get.md +39 -0
- package/docs/docs/cmd/spo/page/page-list.md +53 -0
- package/docs/docs/cmd/spo/page/page-section-get.md +12 -0
- package/docs/docs/cmd/spo/page/page-section-list.md +13 -0
- package/docs/docs/cmd/spo/page/page-template-list.md +31 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-get.md +6 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-list.md +13 -0
- package/docs/docs/cmd/spo/report/report-activityfilecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-activitypages.md +7 -0
- package/docs/docs/cmd/spo/report/report-activityusercounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-activityuserdetail.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagedetail.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagepages.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagestorage.md +7 -0
- package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +20 -0
- package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +18 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +17 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +13 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-move.md +43 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.md +45 -0
- package/docs/docs/cmd/spo/term/term-add.md +107 -6
- package/docs/docs/cmd/spo/term/term-get.md +111 -10
- package/docs/docs/cmd/spo/term/term-group-get.md +71 -5
- package/docs/docs/cmd/spo/term/term-group-list.md +70 -2
- package/docs/docs/cmd/spo/term/term-list.md +80 -8
- package/docs/docs/cmd/spo/term/term-set-add.md +95 -11
- package/docs/docs/cmd/spo/term/term-set-get.md +92 -8
- package/docs/docs/cmd/spo/term/term-set-list.md +85 -5
- package/docs/docs/cmd/teams/app/app-list.md +17 -0
- package/docs/docs/cmd/teams/app/app-publish.md +18 -1
- package/docs/docs/cmd/teams/channel/channel-add.md +20 -0
- package/docs/docs/cmd/teams/channel/channel-get.md +21 -0
- package/docs/docs/cmd/teams/channel/channel-list.md +21 -0
- package/docs/docs/cmd/teams/channel/channel-member-list.md +20 -0
- package/docs/docs/cmd/teams/channel/channel-member-set.md +21 -0
- package/docs/docs/cmd/teams/chat/chat-get.md +22 -0
- package/docs/docs/cmd/teams/chat/chat-list.md +22 -0
- package/docs/docs/cmd/teams/chat/chat-member-list.md +20 -0
- package/docs/docs/cmd/teams/chat/chat-message-list.md +23 -0
- package/docs/docs/cmd/teams/funsettings/funsettings-list.md +15 -0
- package/docs/docs/cmd/teams/guestsettings/guestsettings-list.md +13 -0
- package/docs/docs/cmd/teams/membersettings/membersettings-list.md +17 -0
- package/package.json +1 -1
|
@@ -43,8 +43,8 @@ class SpoTermSetAddCommand extends SpoCommand_1.default {
|
|
|
43
43
|
let formDigest = '';
|
|
44
44
|
let termSet;
|
|
45
45
|
try {
|
|
46
|
-
const
|
|
47
|
-
const res = yield spo_1.spo.getRequestDigest(
|
|
46
|
+
const spoWebUrl = args.options.webUrl ? args.options.webUrl : yield spo_1.spo.getSpoAdminUrl(logger, this.debug);
|
|
47
|
+
const res = yield spo_1.spo.getRequestDigest(spoWebUrl);
|
|
48
48
|
formDigest = res.FormDigestValue;
|
|
49
49
|
if (this.verbose) {
|
|
50
50
|
logger.logToStderr(`Adding taxonomy term set...`);
|
|
@@ -54,7 +54,7 @@ class SpoTermSetAddCommand extends SpoCommand_1.default {
|
|
|
54
54
|
`<Method Id="42" ParentId="40" Name="GetById"><Parameters><Parameter Type="Guid">{${args.options.termGroupId}}</Parameter></Parameters></Method>`;
|
|
55
55
|
const termSetId = args.options.id || (0, uuid_1.v4)();
|
|
56
56
|
const requestOptionsQuery = {
|
|
57
|
-
url: `${
|
|
57
|
+
url: `${spoWebUrl}/_vti_bin/client.svc/ProcessQuery`,
|
|
58
58
|
headers: {
|
|
59
59
|
'X-RequestDigest': res.FormDigestValue
|
|
60
60
|
},
|
|
@@ -96,7 +96,7 @@ class SpoTermSetAddCommand extends SpoCommand_1.default {
|
|
|
96
96
|
termSet.CustomProperties = customProperties;
|
|
97
97
|
}
|
|
98
98
|
const requestOptions = {
|
|
99
|
-
url: `${
|
|
99
|
+
url: `${spoWebUrl}/_vti_bin/client.svc/ProcessQuery`,
|
|
100
100
|
headers: {
|
|
101
101
|
'X-RequestDigest': formDigest
|
|
102
102
|
},
|
|
@@ -127,6 +127,7 @@ class SpoTermSetAddCommand extends SpoCommand_1.default {
|
|
|
127
127
|
_SpoTermSetAddCommand_instances = new WeakSet(), _SpoTermSetAddCommand_initTelemetry = function _SpoTermSetAddCommand_initTelemetry() {
|
|
128
128
|
this.telemetry.push((args) => {
|
|
129
129
|
Object.assign(this.telemetryProperties, {
|
|
130
|
+
webUrl: typeof args.options.webUrl !== 'undefined',
|
|
130
131
|
customProperties: typeof args.options.customProperties !== 'undefined',
|
|
131
132
|
description: typeof args.options.description !== 'undefined',
|
|
132
133
|
id: typeof args.options.id !== 'undefined',
|
|
@@ -137,6 +138,8 @@ _SpoTermSetAddCommand_instances = new WeakSet(), _SpoTermSetAddCommand_initTelem
|
|
|
137
138
|
}, _SpoTermSetAddCommand_initOptions = function _SpoTermSetAddCommand_initOptions() {
|
|
138
139
|
this.options.unshift({
|
|
139
140
|
option: '-n, --name <name>'
|
|
141
|
+
}, {
|
|
142
|
+
option: '-u, --webUrl [webUrl]'
|
|
140
143
|
}, {
|
|
141
144
|
option: '--termGroupId [termGroupId]'
|
|
142
145
|
}, {
|
|
@@ -150,6 +153,12 @@ _SpoTermSetAddCommand_instances = new WeakSet(), _SpoTermSetAddCommand_initTelem
|
|
|
150
153
|
});
|
|
151
154
|
}, _SpoTermSetAddCommand_initValidators = function _SpoTermSetAddCommand_initValidators() {
|
|
152
155
|
this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
|
|
156
|
+
if (args.options.webUrl) {
|
|
157
|
+
const isValidSharePointUrl = validation_1.validation.isValidSharePointUrl(args.options.webUrl);
|
|
158
|
+
if (isValidSharePointUrl !== true) {
|
|
159
|
+
return isValidSharePointUrl;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
153
162
|
if (args.options.id) {
|
|
154
163
|
if (!validation_1.validation.isValidGuid(args.options.id)) {
|
|
155
164
|
return `${args.options.id} is not a valid GUID`;
|
|
@@ -40,15 +40,15 @@ class SpoTermSetGetCommand extends SpoCommand_1.default {
|
|
|
40
40
|
commandAction(logger, args) {
|
|
41
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42
42
|
try {
|
|
43
|
-
const
|
|
44
|
-
const res = yield spo_1.spo.getRequestDigest(
|
|
43
|
+
const spoWebUrl = args.options.webUrl ? args.options.webUrl : yield spo_1.spo.getSpoAdminUrl(logger, this.debug);
|
|
44
|
+
const res = yield spo_1.spo.getRequestDigest(spoWebUrl);
|
|
45
45
|
if (this.verbose) {
|
|
46
46
|
logger.logToStderr(`Retrieving taxonomy term set...`);
|
|
47
47
|
}
|
|
48
48
|
const termGroupQuery = args.options.termGroupId ? `<Method Id="62" ParentId="60" Name="GetById"><Parameters><Parameter Type="Guid">{${args.options.termGroupId}}</Parameter></Parameters></Method>` : `<Method Id="62" ParentId="60" Name="GetByName"><Parameters><Parameter Type="String">${formatting_1.formatting.escapeXml(args.options.termGroupName)}</Parameter></Parameters></Method>`;
|
|
49
49
|
const termSetQuery = args.options.id ? `<Method Id="67" ParentId="65" Name="GetById"><Parameters><Parameter Type="Guid">{${args.options.id}}</Parameter></Parameters></Method>` : `<Method Id="67" ParentId="65" Name="GetByName"><Parameters><Parameter Type="String">${formatting_1.formatting.escapeXml(args.options.name)}</Parameter></Parameters></Method>`;
|
|
50
50
|
const requestOptions = {
|
|
51
|
-
url: `${
|
|
51
|
+
url: `${spoWebUrl}/_vti_bin/client.svc/ProcessQuery`,
|
|
52
52
|
headers: {
|
|
53
53
|
'X-RequestDigest': res.FormDigestValue
|
|
54
54
|
},
|
|
@@ -77,6 +77,7 @@ class SpoTermSetGetCommand extends SpoCommand_1.default {
|
|
|
77
77
|
_SpoTermSetGetCommand_instances = new WeakSet(), _SpoTermSetGetCommand_initTelemetry = function _SpoTermSetGetCommand_initTelemetry() {
|
|
78
78
|
this.telemetry.push((args) => {
|
|
79
79
|
Object.assign(this.telemetryProperties, {
|
|
80
|
+
webUrl: typeof args.options.webUrl !== 'undefined',
|
|
80
81
|
id: typeof args.options.id !== 'undefined',
|
|
81
82
|
name: typeof args.options.name !== 'undefined',
|
|
82
83
|
termGroupId: typeof args.options.termGroupId !== 'undefined',
|
|
@@ -85,6 +86,8 @@ _SpoTermSetGetCommand_instances = new WeakSet(), _SpoTermSetGetCommand_initTelem
|
|
|
85
86
|
});
|
|
86
87
|
}, _SpoTermSetGetCommand_initOptions = function _SpoTermSetGetCommand_initOptions() {
|
|
87
88
|
this.options.unshift({
|
|
89
|
+
option: '-u, --webUrl [webUrl]'
|
|
90
|
+
}, {
|
|
88
91
|
option: '-i, --id [id]'
|
|
89
92
|
}, {
|
|
90
93
|
option: '-n, --name [name]'
|
|
@@ -95,6 +98,12 @@ _SpoTermSetGetCommand_instances = new WeakSet(), _SpoTermSetGetCommand_initTelem
|
|
|
95
98
|
});
|
|
96
99
|
}, _SpoTermSetGetCommand_initValidators = function _SpoTermSetGetCommand_initValidators() {
|
|
97
100
|
this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
if (args.options.webUrl) {
|
|
102
|
+
const isValidSharePointUrl = validation_1.validation.isValidSharePointUrl(args.options.webUrl);
|
|
103
|
+
if (isValidSharePointUrl !== true) {
|
|
104
|
+
return isValidSharePointUrl;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
98
107
|
if (args.options.id) {
|
|
99
108
|
if (!validation_1.validation.isValidGuid(args.options.id)) {
|
|
100
109
|
return `${args.options.id} is not a valid GUID`;
|
|
@@ -43,14 +43,14 @@ class SpoTermSetListCommand extends SpoCommand_1.default {
|
|
|
43
43
|
commandAction(logger, args) {
|
|
44
44
|
return __awaiter(this, void 0, void 0, function* () {
|
|
45
45
|
try {
|
|
46
|
-
const
|
|
47
|
-
const res = yield spo_1.spo.getRequestDigest(
|
|
46
|
+
const spoWebUrl = args.options.webUrl ? args.options.webUrl : yield spo_1.spo.getSpoAdminUrl(logger, this.debug);
|
|
47
|
+
const res = yield spo_1.spo.getRequestDigest(spoWebUrl);
|
|
48
48
|
if (this.verbose) {
|
|
49
49
|
logger.logToStderr(`Retrieving taxonomy term sets...`);
|
|
50
50
|
}
|
|
51
51
|
const query = args.options.termGroupId ? `<Method Id="62" ParentId="60" Name="GetById"><Parameters><Parameter Type="Guid">{${args.options.termGroupId}}</Parameter></Parameters></Method>` : `<Method Id="62" ParentId="60" Name="GetByName"><Parameters><Parameter Type="String">${formatting_1.formatting.escapeXml(args.options.termGroupName)}</Parameter></Parameters></Method>`;
|
|
52
52
|
const requestOptions = {
|
|
53
|
-
url: `${
|
|
53
|
+
url: `${spoWebUrl}/_vti_bin/client.svc/ProcessQuery`,
|
|
54
54
|
headers: {
|
|
55
55
|
'X-RequestDigest': res.FormDigestValue
|
|
56
56
|
},
|
|
@@ -82,18 +82,27 @@ class SpoTermSetListCommand extends SpoCommand_1.default {
|
|
|
82
82
|
_SpoTermSetListCommand_instances = new WeakSet(), _SpoTermSetListCommand_initTelemetry = function _SpoTermSetListCommand_initTelemetry() {
|
|
83
83
|
this.telemetry.push((args) => {
|
|
84
84
|
Object.assign(this.telemetryProperties, {
|
|
85
|
+
webUrl: typeof args.options.webUrl !== 'undefined',
|
|
85
86
|
termGroupId: typeof args.options.termGroupId !== 'undefined',
|
|
86
87
|
termGroupName: typeof args.options.termGroupName !== 'undefined'
|
|
87
88
|
});
|
|
88
89
|
});
|
|
89
90
|
}, _SpoTermSetListCommand_initOptions = function _SpoTermSetListCommand_initOptions() {
|
|
90
91
|
this.options.unshift({
|
|
92
|
+
option: '-u, --webUrl [webUrl]'
|
|
93
|
+
}, {
|
|
91
94
|
option: '--termGroupId [termGroupId]'
|
|
92
95
|
}, {
|
|
93
96
|
option: '--termGroupName [termGroupName]'
|
|
94
97
|
});
|
|
95
98
|
}, _SpoTermSetListCommand_initValidators = function _SpoTermSetListCommand_initValidators() {
|
|
96
99
|
this.validators.push((args) => __awaiter(this, void 0, void 0, function* () {
|
|
100
|
+
if (args.options.webUrl) {
|
|
101
|
+
const isValidSharePointUrl = validation_1.validation.isValidSharePointUrl(args.options.webUrl);
|
|
102
|
+
if (isValidSharePointUrl !== true) {
|
|
103
|
+
return isValidSharePointUrl;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
97
106
|
if (args.options.termGroupId) {
|
|
98
107
|
if (!validation_1.validation.isValidGuid(args.options.termGroupId)) {
|
|
99
108
|
return `${args.options.termGroupId} is not a valid GUID`;
|
|
@@ -202,6 +202,7 @@ exports.default = {
|
|
|
202
202
|
PAGE_SECTION_GET: `${prefix} page section get`,
|
|
203
203
|
PAGE_SECTION_LIST: `${prefix} page section list`,
|
|
204
204
|
PAGE_TEMPLATE_LIST: `${prefix} page template list`,
|
|
205
|
+
PAGE_TEMPLATE_REMOVE: `${prefix} page template remove`,
|
|
205
206
|
PAGE_TEXT_ADD: `${prefix} page text add`,
|
|
206
207
|
PROPERTYBAG_GET: `${prefix} propertybag get`,
|
|
207
208
|
PROPERTYBAG_LIST: `${prefix} propertybag list`,
|
|
@@ -249,6 +250,8 @@ exports.default = {
|
|
|
249
250
|
SITE_INPLACERECORDSMANAGEMENT_SET: `${prefix} site inplacerecordsmanagement set`,
|
|
250
251
|
SITE_RECYCLEBINITEM_CLEAR: `${prefix} site recyclebinitem clear`,
|
|
251
252
|
SITE_RECYCLEBINITEM_LIST: `${prefix} site recyclebinitem list`,
|
|
253
|
+
SITE_RECYCLEBINITEM_MOVE: `${prefix} site recyclebinitem move`,
|
|
254
|
+
SITE_RECYCLEBINITEM_REMOVE: `${prefix} site recyclebinitem remove`,
|
|
252
255
|
SITE_RECYCLEBINITEM_RESTORE: `${prefix} site recyclebinitem restore`,
|
|
253
256
|
SITE_REMOVE: `${prefix} site remove`,
|
|
254
257
|
SITE_RENAME: `${prefix} site rename`,
|
package/dist/utils/spo.js
CHANGED
|
@@ -453,7 +453,7 @@ exports.spo = {
|
|
|
453
453
|
* Retrieves the SiteId, VroomItemId and VroomDriveId from a specific file.
|
|
454
454
|
* @param webUrl Web url
|
|
455
455
|
* @param fileId GUID ID of the file
|
|
456
|
-
* @param fileUrl Decoded URL of the file
|
|
456
|
+
* @param fileUrl Decoded site-relative or server-relative URL of the file
|
|
457
457
|
*/
|
|
458
458
|
getVroomFileDetails(webUrl, fileId, fileUrl) {
|
|
459
459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8,12 +8,6 @@ Gets information about the specified Microsoft 365 Group or Microsoft Teams team
|
|
|
8
8
|
m365 aad o365group get [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## Alias
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
m365 teams team get
|
|
15
|
-
```
|
|
16
|
-
|
|
17
11
|
## Options
|
|
18
12
|
|
|
19
13
|
`-i, --id <id>`
|
|
@@ -37,9 +31,3 @@ Get information about the Microsoft 365 Group with id _1caf7dcd-7e83-4c3a-94f7-9
|
|
|
37
31
|
```sh
|
|
38
32
|
m365 aad o365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --includeSiteUrl
|
|
39
33
|
```
|
|
40
|
-
|
|
41
|
-
Get information about the Microsoft Teams team with id _2eaf7dcd-7e83-4c3a-94f7-932a1299c844_
|
|
42
|
-
|
|
43
|
-
```sh
|
|
44
|
-
m365 teams team get --id 2eaf7dcd-7e83-4c3a-94f7-932a1299c844
|
|
45
|
-
```
|
|
@@ -50,3 +50,9 @@ m365 cli consent --service yammer
|
|
|
50
50
|
```csv
|
|
51
51
|
To consent permissions for executing yammer commands, navigate in your web browser to https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=31359c7f-bd7e-475c-86db-fdb8c937548e&response_type=code&scope=https%3A%2F%2Fapi.yammer.com%2Fuser_impersonation
|
|
52
52
|
```
|
|
53
|
+
|
|
54
|
+
=== "Markdown"
|
|
55
|
+
|
|
56
|
+
```md
|
|
57
|
+
To consent permissions for executing yammer commands, navigate in your web browser to https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=31359c7f-bd7e-475c-86db-fdb8c937548e&response_type=code&scope=https%3A%2F%2Fapi.yammer.com%2Fuser_impersonation
|
|
58
|
+
```
|
|
@@ -73,3 +73,20 @@ m365 cli doctor
|
|
|
73
73
|
os,cliVersion,nodeVersion,cliAadAppId,cliAadAppTenant,authMode,cliEnvironment,cliConfig,roles,scopes
|
|
74
74
|
"{""platform"":""win32"",""version"":""Windows 10 Pro"",""release"":""10.0.19045""}",6.1.0,v16.13.0,31359c7f-bd7e-475c-86db-fdb8c937548e,common,DeviceCode,,"{""output"":""json"",""showHelpOnFailure"":false}",[],"[""AllSites.FullControl""]"
|
|
75
75
|
```
|
|
76
|
+
|
|
77
|
+
=== "Markdown"
|
|
78
|
+
|
|
79
|
+
```md
|
|
80
|
+
# cli doctor
|
|
81
|
+
|
|
82
|
+
Date: 2022-09-05
|
|
83
|
+
|
|
84
|
+
Property | Value
|
|
85
|
+
---------|-------
|
|
86
|
+
cliVersion | 6.1.0
|
|
87
|
+
nodeVersion | v16.13.0
|
|
88
|
+
cliAadAppId | 31359c7f-bd7e-475c-86db-fdb8c937548e
|
|
89
|
+
cliAadAppTenant | common
|
|
90
|
+
authMode | DeviceCode
|
|
91
|
+
cliEnvironment |
|
|
92
|
+
```
|
|
@@ -40,6 +40,12 @@ m365 cli reconsent
|
|
|
40
40
|
To re-consent the PnP Microsoft 365 Management Shell Azure AD application navigate in your web browser to https://login.microsoftonline.com/common/oauth2/authorize?client_id=31359c7f-bd7e-475c-86db-fdb8c937548e&response_type=code&prompt=admin_consent
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
=== "Markdown"
|
|
44
|
+
|
|
45
|
+
```md
|
|
46
|
+
To re-consent the PnP Microsoft 365 Management Shell Azure AD application navigate in your web browser to https://login.microsoftonline.com/common/oauth2/authorize?client_id=31359c7f-bd7e-475c-86db-fdb8c937548e&response_type=code&prompt=admin_consent
|
|
47
|
+
```
|
|
48
|
+
|
|
43
49
|
## More information
|
|
44
50
|
|
|
45
51
|
- Re-consent the PnP Microsoft 365 Management Shell Azure AD application: [https://pnp.github.io/cli-microsoft365/user-guide/connecting-office-365/#re-consent-the-pnp-office-365-management-shell-azure-ad-application](https://pnp.github.io/cli-microsoft365/user-guide/connecting-office-365/#re-consent-the-pnp-office-365-management-shell-azure-ad-application)
|
|
@@ -40,6 +40,12 @@ m365 cli completion sh setup
|
|
|
40
40
|
Command completion successfully registered. Restart your shell to load the completion
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
=== "Markdown"
|
|
44
|
+
|
|
45
|
+
```md
|
|
46
|
+
Command completion successfully registered. Restart your shell to load the completion
|
|
47
|
+
```
|
|
48
|
+
|
|
43
49
|
## More information
|
|
44
50
|
|
|
45
51
|
- Command completion: [https://pnp.github.io/cli-microsoft365/user-guide/completion/](https://pnp.github.io/cli-microsoft365/user-guide/completion/)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# docs
|
|
2
|
+
|
|
3
|
+
Returns the CLI for Microsoft 365 docs webpage URL
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 docs [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
--8<-- "docs/cmd/_global.md"
|
|
14
|
+
|
|
15
|
+
## Remarks
|
|
16
|
+
|
|
17
|
+
Configure `autoOpenLinksInBrowser` using [cli config set](../cmd/cli/config/config-set.md) to automatically open the webpage in the default browser.
|
|
18
|
+
|
|
19
|
+
## Examples
|
|
20
|
+
|
|
21
|
+
Returns the CLI for Microsoft 365 docs webpage URL
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
m365 docs
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Response
|
|
28
|
+
|
|
29
|
+
=== "JSON"
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
"https://pnp.github.io/cli-microsoft365/"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
=== "Text"
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
https://pnp.github.io/cli-microsoft365/
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
=== "CSV"
|
|
42
|
+
|
|
43
|
+
```csv
|
|
44
|
+
https://pnp.github.io/cli-microsoft365/
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
=== "Markdown"
|
|
48
|
+
|
|
49
|
+
```md
|
|
50
|
+
https://pnp.github.io/cli-microsoft365/
|
|
51
|
+
```
|
package/docs/docs/cmd/login.md
CHANGED
|
@@ -46,7 +46,7 @@ m365 login [options]
|
|
|
46
46
|
|
|
47
47
|
Using the `login` command you can log in to Microsoft 365.
|
|
48
48
|
|
|
49
|
-
By default, the `login` command uses device code OAuth flow to log in to Microsoft 365. Alternatively, you can authenticate using a user name and password or certificate, which are convenient for CI/CD scenarios, but which come with their own [limitations](../user-guide/connecting-
|
|
49
|
+
By default, the `login` command uses device code OAuth flow to log in to Microsoft 365. Alternatively, you can authenticate using a user name and password or certificate, which are convenient for CI/CD scenarios, but which come with their own [limitations](../user-guide/connecting-microsoft-365.md).
|
|
50
50
|
|
|
51
51
|
When logging in to Microsoft 365 using the user name and password, next to the access and refresh token, the CLI for Microsoft 365 will store the user credentials so that it can automatically re-authenticate if necessary. Similarly to the tokens, the credentials are removed by re-authenticating using the device code or by calling the [logout](logout.md) command.
|
|
52
52
|
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# pa app consent set
|
|
2
|
+
|
|
3
|
+
Configures if users can bypass the API Consent window for the selected canvas app
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 pa app consent set [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-e, --environment <environment>`
|
|
14
|
+
: The name of the environment.
|
|
15
|
+
|
|
16
|
+
`-n, --name <name>`
|
|
17
|
+
: The name of the Power App to update
|
|
18
|
+
|
|
19
|
+
`-b, --bypass <bypass>`
|
|
20
|
+
: Set to `true` to allow users to bypass the API Consent window. Set to `false` to disable the bypass.
|
|
21
|
+
|
|
22
|
+
`--confirm`
|
|
23
|
+
: Don't prompt for confirmation
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Remarks
|
|
28
|
+
|
|
29
|
+
This command only works for canvas apps.
|
|
30
|
+
|
|
31
|
+
## Examples
|
|
32
|
+
|
|
33
|
+
Enables the bypass for the specified canvas app
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
m365 pa app consent set --environment 4be50206-9576-4237-8b17-38d8aadfaa36 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --bypass true
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Disables the bypass consent for the specified canvas app
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
m365 pa app consent set --environment 4be50206-9576-4237-8b17-38d8aadfaa36 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --bypass false --confirm
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Response
|
|
46
|
+
|
|
47
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# purview sensitivitylabel get
|
|
2
|
+
|
|
3
|
+
Retrieve the specified sensitivity label
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 purview sensitivitylabel get [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-i, --id <id>`
|
|
14
|
+
: The Id of the sensitivity label.
|
|
15
|
+
|
|
16
|
+
`--userId [userId]`
|
|
17
|
+
: User's Azure AD ID. Optionally specify this if you want to get a list of sensitivity labels that the user has access to. Specify either `userId` or `userName` but not both.
|
|
18
|
+
|
|
19
|
+
`--userName [userName]`
|
|
20
|
+
: User's UPN (user principal name, e.g. johndoe@example.com). Optionally specify this if you want to get a list of sensitivity labels that the user has access to. Specify either `userId` or `userName` but not both.
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Remarks
|
|
25
|
+
|
|
26
|
+
!!! attention
|
|
27
|
+
This command is based on a Microsoft Graph API that is currently in preview and is subject to change once the API reached general availability.
|
|
28
|
+
|
|
29
|
+
!!! attention
|
|
30
|
+
When operating in app-only mode, you have the option to use either the `userName` or `userId` parameters to retrieve the sensitivity policy settings for a specific user. Without specifying either of these parameters, the command will retrieve the sensitivity policy settings for the currently authenticated user when operating in delegated mode.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## Examples
|
|
34
|
+
|
|
35
|
+
Get a sensitivity label
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 purview sensitivitylabel get --id 6f4fb2db-ecf4-4279-94ba-23d059bf157e
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Get a sensitivity label that a specific user has access to by its Id
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 purview sensitivitylabel get --id 6f4fb2db-ecf4-4279-94ba-23d059bf157e --userId 59f80e08-24b1-41f8-8586-16765fd830d3
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Get a sensitivity label that a specific user has access to by its UPN
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 purview sensitivitylabel get --id 6f4fb2db-ecf4-4279-94ba-23d059bf157e --userName john.doe@contoso.com
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
=== "JSON"
|
|
56
|
+
|
|
57
|
+
```json
|
|
58
|
+
{
|
|
59
|
+
"id": "6f4fb2db-ecf4-4279-94ba-23d059bf157e",
|
|
60
|
+
"name": "Unrestricted",
|
|
61
|
+
"description": "",
|
|
62
|
+
"color": "",
|
|
63
|
+
"sensitivity": 0,
|
|
64
|
+
"tooltip": "Information either intended for general distribution, or which would not have any impact on the organization if it were to be distributed.",
|
|
65
|
+
"isActive": true,
|
|
66
|
+
"isAppliable": true,
|
|
67
|
+
"contentFormats": [
|
|
68
|
+
"file",
|
|
69
|
+
"email"
|
|
70
|
+
],
|
|
71
|
+
"hasProtection": false
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
=== "Text"
|
|
76
|
+
|
|
77
|
+
```text
|
|
78
|
+
color :
|
|
79
|
+
contentFormats: ["file","email"]
|
|
80
|
+
description :
|
|
81
|
+
hasProtection : false
|
|
82
|
+
id : 6f4fb2db-ecf4-4279-94ba-23d059bf157e
|
|
83
|
+
isActive : true
|
|
84
|
+
isAppliable : true
|
|
85
|
+
name : Unrestricted
|
|
86
|
+
sensitivity : 0
|
|
87
|
+
tooltip : Information either intended for general distribution, or which would not have any impact on the organization if it were to be distributed.
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
=== "CSV"
|
|
91
|
+
|
|
92
|
+
```csv
|
|
93
|
+
id,name,description,color,sensitivity,tooltip,isActive,isAppliable,contentFormats,hasProtection
|
|
94
|
+
6f4fb2db-ecf4-4279-94ba-23d059bf157e,Unrestricted,,,0,"Information either intended for general distribution, or which would not have any impact on the organization if it were to be distributed.",1,1,"[""file"",""email""]",
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
=== "Markdown"
|
|
98
|
+
|
|
99
|
+
```md
|
|
100
|
+
# purview sensitivitylabel get --id "6f4fb2db-ecf4-4279-94ba-23d059bf157e"
|
|
101
|
+
|
|
102
|
+
Date: 3/25/2023
|
|
103
|
+
|
|
104
|
+
## Unrestricted (6f4fb2db-ecf4-4279-94ba-23d059bf157e)
|
|
105
|
+
|
|
106
|
+
Property | Value
|
|
107
|
+
---------|-------
|
|
108
|
+
id | 6f4fb2db-ecf4-4279-94ba-23d059bf157e
|
|
109
|
+
name | Unrestricted
|
|
110
|
+
description |
|
|
111
|
+
color |
|
|
112
|
+
sensitivity | 0
|
|
113
|
+
tooltip | Information either intended for general distribution, or which would not have any impact on the organization if it were to be distributed.
|
|
114
|
+
isActive | true
|
|
115
|
+
isAppliable | true
|
|
116
|
+
contentFormats | ["file","email"]
|
|
117
|
+
hasProtection | false
|
|
118
|
+
```
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# purview sensitivitylabel list
|
|
2
|
+
|
|
3
|
+
Get a list of sensitivity labels
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 purview sensitivitylabel list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`--userId [userId]`
|
|
14
|
+
: User's Azure AD ID. Optionally specify this if you want to get a list of sensitivity labels that the user has access to. Specify either `userId` or `userName` but not both.
|
|
15
|
+
|
|
16
|
+
`--userName [userName]`
|
|
17
|
+
: User's UPN (user principal name, e.g. johndoe@example.com). Optionally specify this if you want to get a list of sensitivity labels that the user has access to. Specify either `userId` or `userName` but not both.
|
|
18
|
+
|
|
19
|
+
--8<-- "docs/cmd/_global.md"
|
|
20
|
+
|
|
21
|
+
## Remarks
|
|
22
|
+
|
|
23
|
+
!!! attention
|
|
24
|
+
This command is based on a Microsoft Graph API that is currently in preview and is subject to change once the API reached general availability.
|
|
25
|
+
|
|
26
|
+
!!! attention
|
|
27
|
+
When operating in app-only mode, you have the option to use either the `userName` or `userId` parameters to retrieve the sensitivity label for a specific user. Without specifying either of these parameters, the command will retrieve the sensitivity label for the currently authenticated user when operating in delegated mode.
|
|
28
|
+
|
|
29
|
+
## Examples
|
|
30
|
+
|
|
31
|
+
Get a list of sensitivity labels
|
|
32
|
+
|
|
33
|
+
```sh
|
|
34
|
+
m365 purview sensitivitylabel list
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Get a list of sensitivity labels that a specific user has access to by its Id
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
m365 purview sensitivitylabel list --userId 59f80e08-24b1-41f8-8586-16765fd830d3
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Get a list of sensitivity labels that a specific user has access to by its UPN
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
m365 purview sensitivitylabel list --userName john.doe@contoso.com
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Response
|
|
50
|
+
|
|
51
|
+
=== "JSON"
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
[
|
|
55
|
+
{
|
|
56
|
+
"id": "6f4fb2db-ecf4-4279-94ba-23d059bf157e",
|
|
57
|
+
"name": "Unrestricted",
|
|
58
|
+
"description": "",
|
|
59
|
+
"color": "",
|
|
60
|
+
"sensitivity": 0,
|
|
61
|
+
"tooltip": "Information either intended for general distribution, or which would not have any impact on the organization if it were to be distributed.",
|
|
62
|
+
"isActive": true,
|
|
63
|
+
"isAppliable": true,
|
|
64
|
+
"contentFormats": [
|
|
65
|
+
"file",
|
|
66
|
+
"email"
|
|
67
|
+
],
|
|
68
|
+
"hasProtection": false,
|
|
69
|
+
"parent": null
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
=== "Text"
|
|
75
|
+
|
|
76
|
+
```text
|
|
77
|
+
id name isActive
|
|
78
|
+
------------------------------------ --------------------- --------
|
|
79
|
+
6f4fb2db-ecf4-4279-94ba-23d059bf157e Unrestricted true
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
=== "CSV"
|
|
83
|
+
|
|
84
|
+
```csv
|
|
85
|
+
id,name,isActive
|
|
86
|
+
6f4fb2db-ecf4-4279-94ba-23d059bf157e,Unrestricted,1
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
=== "Markdown"
|
|
90
|
+
|
|
91
|
+
```md
|
|
92
|
+
# purview sensitivitylabel list
|
|
93
|
+
|
|
94
|
+
Date: 3/26/2023
|
|
95
|
+
|
|
96
|
+
## Unrestricted (6f4fb2db-ecf4-4279-94ba-23d059bf157e)
|
|
97
|
+
|
|
98
|
+
Property | Value
|
|
99
|
+
---------|-------
|
|
100
|
+
id | 6f4fb2db-ecf4-4279-94ba-23d059bf157e
|
|
101
|
+
name | Unrestricted
|
|
102
|
+
description |
|
|
103
|
+
color |
|
|
104
|
+
sensitivity | 0
|
|
105
|
+
tooltip | Information either intended for general distribution, or which would not have any impact on the organization if it were to be distributed.
|
|
106
|
+
isActive | true
|
|
107
|
+
isAppliable | true
|
|
108
|
+
contentFormats | ["file","email"]
|
|
109
|
+
hasProtection | false
|
|
110
|
+
parent | null
|
|
111
|
+
```
|