@sonisoft/now-sdk-ext-cli 5.1.0 → 5.2.0

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/README.md CHANGED
@@ -689,7 +689,7 @@ $ npm install -g @sonisoft/now-sdk-ext-cli
689
689
  $ nex COMMAND
690
690
  running command...
691
691
  $ nex (--version)
692
- @sonisoft/now-sdk-ext-cli/5.1.0 linux-x64 node-v26.5.0
692
+ @sonisoft/now-sdk-ext-cli/5.2.0 linux-x64 node-v26.5.0
693
693
  $ nex --help [COMMAND]
694
694
  USAGE
695
695
  $ nex COMMAND
@@ -697,6 +697,31 @@ USAGE
697
697
  ```
698
698
  <!-- usagestop -->
699
699
 
700
+
701
+ ## Restricting what can be changed
702
+
703
+ Changes to a ServiceNow instance are **permitted by default**. Two ways to take that
704
+ away, in priority order:
705
+
706
+ | | | Reachable by an agent? |
707
+ |---|---|---|
708
+ | `NEX_POLICY_DENY=write,execute` (or `all`) | environment | **No** |
709
+ | `--read-only`, `--deny-write`, `--deny-execute` | per invocation | Yes |
710
+
711
+ Reads are never gated. `nex policy status` prints what is permitted and which layer
712
+ decided — use it first when something is refused, since the fix differs completely
713
+ between an environment variable and a flag.
714
+
715
+ A malformed value **fails closed**: `NEX_POLICY_DENY=wrtie` denies everything and warns,
716
+ rather than silently denying nothing.
717
+
718
+ > `NEX_POLICY_DENY` holds only when set somewhere an agent cannot write — a shell
719
+ > profile, a systemd unit, or a container environment. **Not** a committed `.env` or a
720
+ > project-local config file, which anything with file access can edit.
721
+ >
722
+ > This is a guardrail, not a security boundary. Anything holding the credential can
723
+ > reach the instance directly.
724
+
700
725
  # Commands
701
726
  <!-- commands -->
702
727
  * [`nex aggregate count`](#nex-aggregate-count)
@@ -746,6 +771,7 @@ USAGE
746
771
  * [`nex plugins uninstall [PLUGIN]`](#nex-plugins-uninstall-plugin)
747
772
  * [`nex plugins unlink [PLUGIN]`](#nex-plugins-unlink-plugin)
748
773
  * [`nex plugins update`](#nex-plugins-update)
774
+ * [`nex policy status`](#nex-policy-status)
749
775
  * [`nex query`](#nex-query)
750
776
  * [`nex query app`](#nex-query-app)
751
777
  * [`nex query columns`](#nex-query-columns)
@@ -789,8 +815,8 @@ Count records in a ServiceNow table.
789
815
 
790
816
  ```
791
817
  USAGE
792
- $ nex aggregate count -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
793
- debug|warn|error|info|trace] [-q <value>]
818
+ $ nex aggregate count -t <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
819
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-q <value>]
794
820
 
795
821
  FLAGS
796
822
  -a, --auth=<value> Auth alias to use.
@@ -801,12 +827,16 @@ FLAGS
801
827
  GLOBAL FLAGS
802
828
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
803
829
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
830
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
831
+ --deny-write Refuse any change to instance data for this invocation.
804
832
  --log-dir=<value> Directory to write log files to. Implies --log-file.
805
833
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
806
834
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
807
835
  stderr only.
808
836
  --log-level=<option> [default: info] Specify level for logging.
809
837
  <options: debug|warn|error|info|trace>
838
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
839
+ unaffected.
810
840
 
811
841
  DESCRIPTION
812
842
  Count records in a ServiceNow table.
@@ -832,7 +862,7 @@ EXAMPLES
832
862
  $ nex aggregate count --table incident --query "active=true" --json --auth dev
833
863
  ```
834
864
 
835
- _See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/aggregate/count.ts)_
865
+ _See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/aggregate/count.ts)_
836
866
 
837
867
  ## `nex aggregate group`
838
868
 
@@ -840,9 +870,9 @@ Run a grouped aggregate query on a ServiceNow table.
840
870
 
841
871
  ```
842
872
  USAGE
843
- $ nex aggregate group -t <value> -g <value>... [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
844
- [--log-level debug|warn|error|info|trace] [-q <value>] [-c] [--avg <value>...] [--min <value>...] [--max <value>...]
845
- [--sum <value>...] [--having <value>] [-d]
873
+ $ nex aggregate group -t <value> -g <value>... [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
874
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-q <value>] [-c] [--avg
875
+ <value>...] [--min <value>...] [--max <value>...] [--sum <value>...] [--having <value>] [-d]
846
876
 
847
877
  FLAGS
848
878
  -a, --auth=<value> Auth alias to use.
@@ -861,12 +891,16 @@ FLAGS
861
891
  GLOBAL FLAGS
862
892
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
863
893
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
894
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
895
+ --deny-write Refuse any change to instance data for this invocation.
864
896
  --log-dir=<value> Directory to write log files to. Implies --log-file.
865
897
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
866
898
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
867
899
  stderr only.
868
900
  --log-level=<option> [default: info] Specify level for logging.
869
901
  <options: debug|warn|error|info|trace>
902
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
903
+ unaffected.
870
904
 
871
905
  DESCRIPTION
872
906
  Run a grouped aggregate query on a ServiceNow table.
@@ -896,7 +930,7 @@ EXAMPLES
896
930
  $ nex aggregate group --table incident --group-by priority --count --having "count>10" --auth dev
897
931
  ```
898
932
 
899
- _See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/aggregate/group.ts)_
933
+ _See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/aggregate/group.ts)_
900
934
 
901
935
  ## `nex aggregate query`
902
936
 
@@ -904,9 +938,9 @@ Run aggregate statistics on a ServiceNow table.
904
938
 
905
939
  ```
906
940
  USAGE
907
- $ nex aggregate query -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
908
- debug|warn|error|info|trace] [-q <value>] [-c] [--avg <value>...] [--min <value>...] [--max <value>...] [--sum
909
- <value>...]
941
+ $ nex aggregate query -t <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
942
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-q <value>] [-c] [--avg <value>...]
943
+ [--min <value>...] [--max <value>...] [--sum <value>...]
910
944
 
911
945
  FLAGS
912
946
  -a, --auth=<value> Auth alias to use.
@@ -922,12 +956,16 @@ FLAGS
922
956
  GLOBAL FLAGS
923
957
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
924
958
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
959
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
960
+ --deny-write Refuse any change to instance data for this invocation.
925
961
  --log-dir=<value> Directory to write log files to. Implies --log-file.
926
962
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
927
963
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
928
964
  stderr only.
929
965
  --log-level=<option> [default: info] Specify level for logging.
930
966
  <options: debug|warn|error|info|trace>
967
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
968
+ unaffected.
931
969
 
932
970
  DESCRIPTION
933
971
  Run aggregate statistics on a ServiceNow table.
@@ -955,7 +993,7 @@ EXAMPLES
955
993
  $ nex aggregate query --table incident --sum reassignment_count --json --auth dev
956
994
  ```
957
995
 
958
- _See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/aggregate/query.ts)_
996
+ _See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/aggregate/query.ts)_
959
997
 
960
998
  ## `nex app`
961
999
 
@@ -963,8 +1001,8 @@ Manage ServiceNow applications: uninstall applications from your instance.
963
1001
 
964
1002
  ```
965
1003
  USAGE
966
- $ nex app [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
967
- debug|warn|error|info|trace] [-u] [-i <value>] [-s <value>]
1004
+ $ nex app [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
1005
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-u] [-i <value>] [-s <value>]
968
1006
 
969
1007
  FLAGS
970
1008
  -a, --auth=<value> Auth alias to use.
@@ -975,6 +1013,8 @@ FLAGS
975
1013
  GLOBAL FLAGS
976
1014
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
977
1015
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1016
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1017
+ --deny-write Refuse any change to instance data for this invocation.
978
1018
  --json Format output as json.
979
1019
  --log-dir=<value> Directory to write log files to. Implies --log-file.
980
1020
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -982,6 +1022,8 @@ GLOBAL FLAGS
982
1022
  stderr only.
983
1023
  --log-level=<option> [default: info] Specify level for logging.
984
1024
  <options: debug|warn|error|info|trace>
1025
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1026
+ unaffected.
985
1027
 
986
1028
  DESCRIPTION
987
1029
  Manage ServiceNow applications: uninstall applications from your instance.
@@ -1014,7 +1056,7 @@ EXAMPLES
1014
1056
  $ nex app -u -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
1015
1057
  ```
1016
1058
 
1017
- _See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/app/index.ts)_
1059
+ _See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/app/index.ts)_
1018
1060
 
1019
1061
  ## `nex app install`
1020
1062
 
@@ -1022,8 +1064,8 @@ Install or upgrade multiple ServiceNow applications from a batch definition file
1022
1064
 
1023
1065
  ```
1024
1066
  USAGE
1025
- $ nex app install [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
1026
- debug|warn|error|info|trace] [-b] [-d <value>]
1067
+ $ nex app install [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
1068
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-b] [-d <value>]
1027
1069
 
1028
1070
  FLAGS
1029
1071
  -a, --auth=<value> Auth alias to use.
@@ -1033,6 +1075,8 @@ FLAGS
1033
1075
  GLOBAL FLAGS
1034
1076
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1035
1077
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1078
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1079
+ --deny-write Refuse any change to instance data for this invocation.
1036
1080
  --json Format output as json.
1037
1081
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1038
1082
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -1040,6 +1084,8 @@ GLOBAL FLAGS
1040
1084
  stderr only.
1041
1085
  --log-level=<option> [default: info] Specify level for logging.
1042
1086
  <options: debug|warn|error|info|trace>
1087
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1088
+ unaffected.
1043
1089
 
1044
1090
  DESCRIPTION
1045
1091
  Install or upgrade multiple ServiceNow applications from a batch definition file.
@@ -1078,7 +1124,7 @@ EXAMPLES
1078
1124
  $ nex app install -b -d ./apps.json -a dev-instance --log-level debug
1079
1125
  ```
1080
1126
 
1081
- _See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/app/install.ts)_
1127
+ _See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/app/install.ts)_
1082
1128
 
1083
1129
  ## `nex app repo-install`
1084
1130
 
@@ -1086,8 +1132,9 @@ Install an application from your ServiceNow company repository.
1086
1132
 
1087
1133
  ```
1088
1134
  USAGE
1089
- $ nex app repo-install -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
1090
- debug|warn|error|info|trace] [-w] [--poll-interval <value>] [-t <value>] [-v <value>]
1135
+ $ nex app repo-install -s <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
1136
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-w] [--poll-interval <value>] [-t
1137
+ <value>] [-v <value>]
1091
1138
 
1092
1139
  FLAGS
1093
1140
  -a, --auth=<value> Auth alias to use.
@@ -1100,6 +1147,8 @@ FLAGS
1100
1147
  GLOBAL FLAGS
1101
1148
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1102
1149
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1150
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1151
+ --deny-write Refuse any change to instance data for this invocation.
1103
1152
  --json Format output as json.
1104
1153
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1105
1154
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -1107,6 +1156,8 @@ GLOBAL FLAGS
1107
1156
  stderr only.
1108
1157
  --log-level=<option> [default: info] Specify level for logging.
1109
1158
  <options: debug|warn|error|info|trace>
1159
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1160
+ unaffected.
1110
1161
 
1111
1162
  DESCRIPTION
1112
1163
  Install an application from your ServiceNow company repository.
@@ -1158,7 +1209,7 @@ EXAMPLES
1158
1209
  $ nex app repo-install -s x_my_app -a dev-instance --log-level debug
1159
1210
  ```
1160
1211
 
1161
- _See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/app/repo-install.ts)_
1212
+ _See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/app/repo-install.ts)_
1162
1213
 
1163
1214
  ## `nex app repo-list`
1164
1215
 
@@ -1166,8 +1217,8 @@ List applications available in your ServiceNow company repository.
1166
1217
 
1167
1218
  ```
1168
1219
  USAGE
1169
- $ nex app repo-list [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
1170
- debug|warn|error|info|trace] [-n] [-i]
1220
+ $ nex app repo-list [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
1221
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-n] [-i]
1171
1222
 
1172
1223
  FLAGS
1173
1224
  -a, --auth=<value> Auth alias to use.
@@ -1178,12 +1229,16 @@ FLAGS
1178
1229
  GLOBAL FLAGS
1179
1230
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1180
1231
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1232
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1233
+ --deny-write Refuse any change to instance data for this invocation.
1181
1234
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1182
1235
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
1183
1236
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
1184
1237
  stderr only.
1185
1238
  --log-level=<option> [default: info] Specify level for logging.
1186
1239
  <options: debug|warn|error|info|trace>
1240
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1241
+ unaffected.
1187
1242
 
1188
1243
  DESCRIPTION
1189
1244
  List applications available in your ServiceNow company repository.
@@ -1229,7 +1284,7 @@ EXAMPLES
1229
1284
  $ nex app repo-list -a dev-instance
1230
1285
  ```
1231
1286
 
1232
- _See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/app/repo-list.ts)_
1287
+ _See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/app/repo-list.ts)_
1233
1288
 
1234
1289
  ## `nex app uninstall`
1235
1290
 
@@ -1237,8 +1292,8 @@ Uninstall a ServiceNow application from your instance.
1237
1292
 
1238
1293
  ```
1239
1294
  USAGE
1240
- $ nex app uninstall -i <value> -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
1241
- [--log-level debug|warn|error|info|trace]
1295
+ $ nex app uninstall -i <value> -s <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
1296
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
1242
1297
 
1243
1298
  FLAGS
1244
1299
  -a, --auth=<value> Auth alias to use.
@@ -1248,6 +1303,8 @@ FLAGS
1248
1303
  GLOBAL FLAGS
1249
1304
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1250
1305
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1306
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1307
+ --deny-write Refuse any change to instance data for this invocation.
1251
1308
  --json Format output as json.
1252
1309
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1253
1310
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -1255,6 +1312,8 @@ GLOBAL FLAGS
1255
1312
  stderr only.
1256
1313
  --log-level=<option> [default: info] Specify level for logging.
1257
1314
  <options: debug|warn|error|info|trace>
1315
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1316
+ unaffected.
1258
1317
 
1259
1318
  DESCRIPTION
1260
1319
  Uninstall a ServiceNow application from your instance.
@@ -1287,7 +1346,7 @@ EXAMPLES
1287
1346
  $ nex app uninstall -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
1288
1347
  ```
1289
1348
 
1290
- _See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/app/uninstall.ts)_
1349
+ _See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/app/uninstall.ts)_
1291
1350
 
1292
1351
  ## `nex atf`
1293
1352
 
@@ -1295,9 +1354,10 @@ Execute ATF (Automated Test Framework) tests or test suites on a ServiceNow inst
1295
1354
 
1296
1355
  ```
1297
1356
  USAGE
1298
- $ nex atf [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
1299
- debug|warn|error|info|trace] [-t <value> | -s <value> | -n <value>] [-w] [-p <value>] [-b <value>]
1300
- [--browser-version <value>] [--os-name <value>] [--os-version <value>] [--performance] [--cloud]
1357
+ $ nex atf [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
1358
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-t <value> | -s <value> | -n <value>] [-w] [-p
1359
+ <value>] [-b <value>] [--browser-version <value>] [--os-name <value>] [--os-version <value>] [--performance]
1360
+ [--cloud]
1301
1361
 
1302
1362
  FLAGS
1303
1363
  -a, --auth=<value> Auth alias to use.
@@ -1317,12 +1377,16 @@ FLAGS
1317
1377
  GLOBAL FLAGS
1318
1378
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1319
1379
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1380
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1381
+ --deny-write Refuse any change to instance data for this invocation.
1320
1382
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1321
1383
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
1322
1384
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
1323
1385
  stderr only.
1324
1386
  --log-level=<option> [default: info] Specify level for logging.
1325
1387
  <options: debug|warn|error|info|trace>
1388
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1389
+ unaffected.
1326
1390
 
1327
1391
  DESCRIPTION
1328
1392
  Execute ATF (Automated Test Framework) tests or test suites on a ServiceNow instance.
@@ -1365,7 +1429,7 @@ EXAMPLES
1365
1429
  $ nex atf --suite-id e077e00b83103210621e78c6feaad383 --poll-interval 10000 --auth dev-instance
1366
1430
  ```
1367
1431
 
1368
- _See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/atf/index.ts)_
1432
+ _See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/atf/index.ts)_
1369
1433
 
1370
1434
  ## `nex attachment get`
1371
1435
 
@@ -1373,8 +1437,8 @@ Get metadata for a specific attachment.
1373
1437
 
1374
1438
  ```
1375
1439
  USAGE
1376
- $ nex attachment get -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
1377
- debug|warn|error|info|trace]
1440
+ $ nex attachment get -s <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
1441
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
1378
1442
 
1379
1443
  FLAGS
1380
1444
  -a, --auth=<value> Auth alias to use.
@@ -1383,6 +1447,8 @@ FLAGS
1383
1447
  GLOBAL FLAGS
1384
1448
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1385
1449
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1450
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1451
+ --deny-write Refuse any change to instance data for this invocation.
1386
1452
  --json Format output as json.
1387
1453
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1388
1454
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -1390,6 +1456,8 @@ GLOBAL FLAGS
1390
1456
  stderr only.
1391
1457
  --log-level=<option> [default: info] Specify level for logging.
1392
1458
  <options: debug|warn|error|info|trace>
1459
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1460
+ unaffected.
1393
1461
 
1394
1462
  DESCRIPTION
1395
1463
  Get metadata for a specific attachment.
@@ -1404,7 +1472,7 @@ EXAMPLES
1404
1472
  $ nex attachment get -s att123 --json --auth dev
1405
1473
  ```
1406
1474
 
1407
- _See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/attachment/get.ts)_
1475
+ _See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/attachment/get.ts)_
1408
1476
 
1409
1477
  ## `nex attachment list`
1410
1478
 
@@ -1412,8 +1480,8 @@ List attachments on a ServiceNow record.
1412
1480
 
1413
1481
  ```
1414
1482
  USAGE
1415
- $ nex attachment list -r <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
1416
- [--log-level debug|warn|error|info|trace] [--limit <value>]
1483
+ $ nex attachment list -r <value> -t <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
1484
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--limit <value>]
1417
1485
 
1418
1486
  FLAGS
1419
1487
  -a, --auth=<value> Auth alias to use.
@@ -1424,6 +1492,8 @@ FLAGS
1424
1492
  GLOBAL FLAGS
1425
1493
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1426
1494
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1495
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1496
+ --deny-write Refuse any change to instance data for this invocation.
1427
1497
  --json Format output as json.
1428
1498
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1429
1499
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -1431,6 +1501,8 @@ GLOBAL FLAGS
1431
1501
  stderr only.
1432
1502
  --log-level=<option> [default: info] Specify level for logging.
1433
1503
  <options: debug|warn|error|info|trace>
1504
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1505
+ unaffected.
1434
1506
 
1435
1507
  DESCRIPTION
1436
1508
  List attachments on a ServiceNow record.
@@ -1445,7 +1517,7 @@ EXAMPLES
1445
1517
  $ nex attachment list -t incident -r abc123 --limit 50 --json --auth dev
1446
1518
  ```
1447
1519
 
1448
- _See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/attachment/list.ts)_
1520
+ _See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/attachment/list.ts)_
1449
1521
 
1450
1522
  ## `nex attachment upload`
1451
1523
 
@@ -1453,8 +1525,9 @@ Upload a file as an attachment to a ServiceNow record.
1453
1525
 
1454
1526
  ```
1455
1527
  USAGE
1456
- $ nex attachment upload -f <value> -r <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>]
1457
- [--log-file] [--log-level debug|warn|error|info|trace] [--content-type <value>]
1528
+ $ nex attachment upload -f <value> -r <value> -t <value> [--json] [-a <value>] [--cred-store] [--deny-execute]
1529
+ [--deny-write] [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
1530
+ [--content-type <value>]
1458
1531
 
1459
1532
  FLAGS
1460
1533
  -a, --auth=<value> Auth alias to use.
@@ -1466,6 +1539,8 @@ FLAGS
1466
1539
  GLOBAL FLAGS
1467
1540
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1468
1541
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1542
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1543
+ --deny-write Refuse any change to instance data for this invocation.
1469
1544
  --json Format output as json.
1470
1545
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1471
1546
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -1473,6 +1548,8 @@ GLOBAL FLAGS
1473
1548
  stderr only.
1474
1549
  --log-level=<option> [default: info] Specify level for logging.
1475
1550
  <options: debug|warn|error|info|trace>
1551
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1552
+ unaffected.
1476
1553
 
1477
1554
  DESCRIPTION
1478
1555
  Upload a file as an attachment to a ServiceNow record.
@@ -1487,7 +1564,7 @@ EXAMPLES
1487
1564
  $ nex attachment upload -t incident -r abc123 -f ./data.csv --content-type text/csv --auth dev
1488
1565
  ```
1489
1566
 
1490
- _See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/attachment/upload.ts)_
1567
+ _See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/attachment/upload.ts)_
1491
1568
 
1492
1569
  ## `nex auth delete [ALIAS]`
1493
1570
 
@@ -1522,7 +1599,7 @@ EXAMPLES
1522
1599
  $ nex auth delete --all
1523
1600
  ```
1524
1601
 
1525
- _See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/auth/delete.ts)_
1602
+ _See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/auth/delete.ts)_
1526
1603
 
1527
1604
  ## `nex auth doctor`
1528
1605
 
@@ -1550,7 +1627,7 @@ EXAMPLES
1550
1627
  $ nex auth doctor --json
1551
1628
  ```
1552
1629
 
1553
- _See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/auth/doctor.ts)_
1630
+ _See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/auth/doctor.ts)_
1554
1631
 
1555
1632
  ## `nex auth list`
1556
1633
 
@@ -1583,7 +1660,7 @@ EXAMPLES
1583
1660
  $ nex auth list --json
1584
1661
  ```
1585
1662
 
1586
- _See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/auth/list.ts)_
1663
+ _See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/auth/list.ts)_
1587
1664
 
1588
1665
  ## `nex auth use ALIAS`
1589
1666
 
@@ -1611,7 +1688,7 @@ EXAMPLES
1611
1688
  $ nex auth use dev206299
1612
1689
  ```
1613
1690
 
1614
- _See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/auth/use.ts)_
1691
+ _See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/auth/use.ts)_
1615
1692
 
1616
1693
  ## `nex autocomplete [SHELL]`
1617
1694
 
@@ -1642,7 +1719,7 @@ EXAMPLES
1642
1719
  $ nex autocomplete --refresh-cache
1643
1720
  ```
1644
1721
 
1645
- _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.54/src/commands/autocomplete/index.ts)_
1722
+ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.55/src/commands/autocomplete/index.ts)_
1646
1723
 
1647
1724
  ## `nex batch create`
1648
1725
 
@@ -1650,8 +1727,8 @@ Batch create records on a ServiceNow instance from a JSON file.
1650
1727
 
1651
1728
  ```
1652
1729
  USAGE
1653
- $ nex batch create -f <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
1654
- debug|warn|error|info|trace] [--transaction]
1730
+ $ nex batch create -f <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
1731
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--transaction]
1655
1732
 
1656
1733
  FLAGS
1657
1734
  -a, --auth=<value> Auth alias to use.
@@ -1661,6 +1738,8 @@ FLAGS
1661
1738
  GLOBAL FLAGS
1662
1739
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1663
1740
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1741
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1742
+ --deny-write Refuse any change to instance data for this invocation.
1664
1743
  --json Format output as json.
1665
1744
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1666
1745
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -1668,6 +1747,8 @@ GLOBAL FLAGS
1668
1747
  stderr only.
1669
1748
  --log-level=<option> [default: info] Specify level for logging.
1670
1749
  <options: debug|warn|error|info|trace>
1750
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1751
+ unaffected.
1671
1752
 
1672
1753
  DESCRIPTION
1673
1754
  Batch create records on a ServiceNow instance from a JSON file.
@@ -1682,7 +1763,7 @@ EXAMPLES
1682
1763
  $ nex batch create --file ./records.json --no-transaction --auth dev
1683
1764
  ```
1684
1765
 
1685
- _See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/batch/create.ts)_
1766
+ _See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/batch/create.ts)_
1686
1767
 
1687
1768
  ## `nex batch update`
1688
1769
 
@@ -1690,8 +1771,8 @@ Batch update records on a ServiceNow instance from a JSON file.
1690
1771
 
1691
1772
  ```
1692
1773
  USAGE
1693
- $ nex batch update -f <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
1694
- debug|warn|error|info|trace] [--stop-on-error]
1774
+ $ nex batch update -f <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
1775
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--stop-on-error]
1695
1776
 
1696
1777
  FLAGS
1697
1778
  -a, --auth=<value> Auth alias to use.
@@ -1701,6 +1782,8 @@ FLAGS
1701
1782
  GLOBAL FLAGS
1702
1783
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1703
1784
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1785
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1786
+ --deny-write Refuse any change to instance data for this invocation.
1704
1787
  --json Format output as json.
1705
1788
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1706
1789
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -1708,6 +1791,8 @@ GLOBAL FLAGS
1708
1791
  stderr only.
1709
1792
  --log-level=<option> [default: info] Specify level for logging.
1710
1793
  <options: debug|warn|error|info|trace>
1794
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1795
+ unaffected.
1711
1796
 
1712
1797
  DESCRIPTION
1713
1798
  Batch update records on a ServiceNow instance from a JSON file.
@@ -1722,7 +1807,7 @@ EXAMPLES
1722
1807
  $ nex batch update --file ./updates.json --stop-on-error --auth dev
1723
1808
  ```
1724
1809
 
1725
- _See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/batch/update.ts)_
1810
+ _See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/batch/update.ts)_
1726
1811
 
1727
1812
  ## `nex bulk delete`
1728
1813
 
@@ -1730,8 +1815,8 @@ Bulk delete records matching an encoded query.
1730
1815
 
1731
1816
  ```
1732
1817
  USAGE
1733
- $ nex bulk delete -t <value> -q <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
1734
- [--log-level debug|warn|error|info|trace] [--confirm] [-l <value>]
1818
+ $ nex bulk delete -t <value> -q <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
1819
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--confirm] [-l <value>]
1735
1820
 
1736
1821
  FLAGS
1737
1822
  -a, --auth=<value> Auth alias to use.
@@ -1744,12 +1829,16 @@ FLAGS
1744
1829
  GLOBAL FLAGS
1745
1830
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1746
1831
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1832
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1833
+ --deny-write Refuse any change to instance data for this invocation.
1747
1834
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1748
1835
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
1749
1836
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
1750
1837
  stderr only.
1751
1838
  --log-level=<option> [default: info] Specify level for logging.
1752
1839
  <options: debug|warn|error|info|trace>
1840
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1841
+ unaffected.
1753
1842
 
1754
1843
  DESCRIPTION
1755
1844
  Bulk delete records matching an encoded query.
@@ -1782,7 +1871,7 @@ EXAMPLES
1782
1871
  $ nex bulk delete --table u_staging --query "processed=true" --confirm --json --auth dev
1783
1872
  ```
1784
1873
 
1785
- _See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/bulk/delete.ts)_
1874
+ _See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/bulk/delete.ts)_
1786
1875
 
1787
1876
  ## `nex bulk update`
1788
1877
 
@@ -1790,8 +1879,9 @@ Bulk update records matching an encoded query.
1790
1879
 
1791
1880
  ```
1792
1881
  USAGE
1793
- $ nex bulk update -t <value> -q <value> -d <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>]
1794
- [--log-file] [--log-level debug|warn|error|info|trace] [--confirm] [-l <value>]
1882
+ $ nex bulk update -t <value> -q <value> -d <value> [-j] [-a <value>] [--cred-store] [--deny-execute]
1883
+ [--deny-write] [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--confirm]
1884
+ [-l <value>]
1795
1885
 
1796
1886
  FLAGS
1797
1887
  -a, --auth=<value> Auth alias to use.
@@ -1805,12 +1895,16 @@ FLAGS
1805
1895
  GLOBAL FLAGS
1806
1896
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1807
1897
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1898
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1899
+ --deny-write Refuse any change to instance data for this invocation.
1808
1900
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1809
1901
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
1810
1902
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
1811
1903
  stderr only.
1812
1904
  --log-level=<option> [default: info] Specify level for logging.
1813
1905
  <options: debug|warn|error|info|trace>
1906
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1907
+ unaffected.
1814
1908
 
1815
1909
  DESCRIPTION
1816
1910
  Bulk update records matching an encoded query.
@@ -1846,7 +1940,7 @@ EXAMPLES
1846
1940
  $ nex bulk update --table incident --query "active=true" --data '{"state":"6"}' --confirm --json --auth dev
1847
1941
  ```
1848
1942
 
1849
- _See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/bulk/update.ts)_
1943
+ _See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/bulk/update.ts)_
1850
1944
 
1851
1945
  ## `nex exec SCOPE [FILE]`
1852
1946
 
@@ -1854,8 +1948,8 @@ Execute JavaScript on a ServiceNow instance remotely using Scripts - Background.
1854
1948
 
1855
1949
  ```
1856
1950
  USAGE
1857
- $ nex exec SCOPE [FILE] [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
1858
- [--log-level debug|warn|error|info|trace] [-p <value>]
1951
+ $ nex exec SCOPE [FILE] [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
1952
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-p <value>]
1859
1953
 
1860
1954
  ARGUMENTS
1861
1955
  SCOPE Scope to execute script in. Use "global" for global scope.
@@ -1868,6 +1962,8 @@ FLAGS
1868
1962
  GLOBAL FLAGS
1869
1963
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1870
1964
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1965
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1966
+ --deny-write Refuse any change to instance data for this invocation.
1871
1967
  --json Format output as json.
1872
1968
  --log-dir=<value> Directory to write log files to. Implies --log-file.
1873
1969
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -1875,6 +1971,8 @@ GLOBAL FLAGS
1875
1971
  stderr only.
1876
1972
  --log-level=<option> [default: info] Specify level for logging.
1877
1973
  <options: debug|warn|error|info|trace>
1974
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1975
+ unaffected.
1878
1976
 
1879
1977
  DESCRIPTION
1880
1978
  Execute JavaScript on a ServiceNow instance remotely using Scripts - Background.
@@ -1972,7 +2070,7 @@ EXAMPLES
1972
2070
  $ nex exec global ./script.js --auth dev-instance --params '{"token":"abc123","env":"dev"}'
1973
2071
  ```
1974
2072
 
1975
- _See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/exec/index.ts)_
2073
+ _See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/exec/index.ts)_
1976
2074
 
1977
2075
  ## `nex flow action`
1978
2076
 
@@ -1980,8 +2078,9 @@ Execute a Flow Designer action by scoped name.
1980
2078
 
1981
2079
  ```
1982
2080
  USAGE
1983
- $ nex flow action -n <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
1984
- debug|warn|error|info|trace] [-i <value>] [-m foreground|background] [--scope <value>] [--quick]
2081
+ $ nex flow action -n <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
2082
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-i <value>] [-m
2083
+ foreground|background] [--scope <value>] [--quick]
1985
2084
 
1986
2085
  FLAGS
1987
2086
  -a, --auth=<value> Auth alias to use.
@@ -1996,12 +2095,16 @@ FLAGS
1996
2095
  GLOBAL FLAGS
1997
2096
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1998
2097
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2098
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2099
+ --deny-write Refuse any change to instance data for this invocation.
1999
2100
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2000
2101
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2001
2102
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2002
2103
  stderr only.
2003
2104
  --log-level=<option> [default: info] Specify level for logging.
2004
2105
  <options: debug|warn|error|info|trace>
2106
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2107
+ unaffected.
2005
2108
 
2006
2109
  DESCRIPTION
2007
2110
  Execute a Flow Designer action by scoped name.
@@ -2021,7 +2124,7 @@ EXAMPLES
2021
2124
  '{"table":"incident","values":{"short_description":"Test"}}' --auth dev
2022
2125
  ```
2023
2126
 
2024
- _See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/action.ts)_
2127
+ _See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/action.ts)_
2025
2128
 
2026
2129
  ## `nex flow cancel`
2027
2130
 
@@ -2029,8 +2132,8 @@ Cancel a running or paused flow execution.
2029
2132
 
2030
2133
  ```
2031
2134
  USAGE
2032
- $ nex flow cancel -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
2033
- debug|warn|error|info|trace] [-r <value>] [--scope <value>]
2135
+ $ nex flow cancel -c <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
2136
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-r <value>] [--scope <value>]
2034
2137
 
2035
2138
  FLAGS
2036
2139
  -a, --auth=<value> Auth alias to use.
@@ -2042,12 +2145,16 @@ FLAGS
2042
2145
  GLOBAL FLAGS
2043
2146
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2044
2147
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2148
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2149
+ --deny-write Refuse any change to instance data for this invocation.
2045
2150
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2046
2151
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2047
2152
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2048
2153
  stderr only.
2049
2154
  --log-level=<option> [default: info] Specify level for logging.
2050
2155
  <options: debug|warn|error|info|trace>
2156
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2157
+ unaffected.
2051
2158
 
2052
2159
  DESCRIPTION
2053
2160
  Cancel a running or paused flow execution.
@@ -2064,7 +2171,7 @@ EXAMPLES
2064
2171
  $ nex flow cancel --context-id abc123def456 --reason "No longer needed" --auth dev
2065
2172
  ```
2066
2173
 
2067
- _See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/cancel.ts)_
2174
+ _See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/cancel.ts)_
2068
2175
 
2069
2176
  ## `nex flow copy`
2070
2177
 
@@ -2072,8 +2179,8 @@ Copy an existing flow into a target scoped application.
2072
2179
 
2073
2180
  ```
2074
2181
  USAGE
2075
- $ nex flow copy -s <value> -n <value> -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>]
2076
- [--log-file] [--log-level debug|warn|error|info|trace]
2182
+ $ nex flow copy -s <value> -n <value> -t <value> [-j] [-a <value>] [--cred-store] [--deny-execute]
2183
+ [--deny-write] [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
2077
2184
 
2078
2185
  FLAGS
2079
2186
  -a, --auth=<value> Auth alias to use.
@@ -2086,12 +2193,16 @@ FLAGS
2086
2193
  GLOBAL FLAGS
2087
2194
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2088
2195
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2196
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2197
+ --deny-write Refuse any change to instance data for this invocation.
2089
2198
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2090
2199
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2091
2200
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2092
2201
  stderr only.
2093
2202
  --log-level=<option> [default: info] Specify level for logging.
2094
2203
  <options: debug|warn|error|info|trace>
2204
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2205
+ unaffected.
2095
2206
 
2096
2207
  DESCRIPTION
2097
2208
  Copy an existing flow into a target scoped application.
@@ -2125,7 +2236,7 @@ EXAMPLES
2125
2236
  dev
2126
2237
  ```
2127
2238
 
2128
- _See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/copy.ts)_
2239
+ _See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/copy.ts)_
2129
2240
 
2130
2241
  ## `nex flow details`
2131
2242
 
@@ -2133,8 +2244,8 @@ Get rich execution details for a flow context.
2133
2244
 
2134
2245
  ```
2135
2246
  USAGE
2136
- $ nex flow details -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
2137
- debug|warn|error|info|trace] [--scope <value>] [-d]
2247
+ $ nex flow details -c <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
2248
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--scope <value>] [-d]
2138
2249
 
2139
2250
  FLAGS
2140
2251
  -a, --auth=<value> Auth alias to use.
@@ -2146,12 +2257,16 @@ FLAGS
2146
2257
  GLOBAL FLAGS
2147
2258
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2148
2259
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2260
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2261
+ --deny-write Refuse any change to instance data for this invocation.
2149
2262
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2150
2263
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2151
2264
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2152
2265
  stderr only.
2153
2266
  --log-level=<option> [default: info] Specify level for logging.
2154
2267
  <options: debug|warn|error|info|trace>
2268
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2269
+ unaffected.
2155
2270
 
2156
2271
  DESCRIPTION
2157
2272
  Get rich execution details for a flow context.
@@ -2182,7 +2297,7 @@ EXAMPLES
2182
2297
  $ nex flow details -c d4e5f6789012345678abcdef01234567 --json --auth dev
2183
2298
  ```
2184
2299
 
2185
- _See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/details.ts)_
2300
+ _See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/details.ts)_
2186
2301
 
2187
2302
  ## `nex flow error`
2188
2303
 
@@ -2190,8 +2305,8 @@ Retrieve error details from a failed flow execution.
2190
2305
 
2191
2306
  ```
2192
2307
  USAGE
2193
- $ nex flow error -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
2194
- debug|warn|error|info|trace] [--scope <value>]
2308
+ $ nex flow error -c <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
2309
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--scope <value>]
2195
2310
 
2196
2311
  FLAGS
2197
2312
  -a, --auth=<value> Auth alias to use.
@@ -2202,12 +2317,16 @@ FLAGS
2202
2317
  GLOBAL FLAGS
2203
2318
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2204
2319
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2320
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2321
+ --deny-write Refuse any change to instance data for this invocation.
2205
2322
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2206
2323
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2207
2324
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2208
2325
  stderr only.
2209
2326
  --log-level=<option> [default: info] Specify level for logging.
2210
2327
  <options: debug|warn|error|info|trace>
2328
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2329
+ unaffected.
2211
2330
 
2212
2331
  DESCRIPTION
2213
2332
  Retrieve error details from a failed flow execution.
@@ -2220,7 +2339,7 @@ EXAMPLES
2220
2339
  $ nex flow error --context-id abc123def456 --auth dev
2221
2340
  ```
2222
2341
 
2223
- _See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/error.ts)_
2342
+ _See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/error.ts)_
2224
2343
 
2225
2344
  ## `nex flow logs`
2226
2345
 
@@ -2228,8 +2347,8 @@ Retrieve flow execution log entries for a given context.
2228
2347
 
2229
2348
  ```
2230
2349
  USAGE
2231
- $ nex flow logs -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
2232
- debug|warn|error|info|trace] [-l <value>] [-o asc|desc]
2350
+ $ nex flow logs -c <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
2351
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-l <value>] [-o asc|desc]
2233
2352
 
2234
2353
  FLAGS
2235
2354
  -a, --auth=<value> Auth alias to use.
@@ -2242,12 +2361,16 @@ FLAGS
2242
2361
  GLOBAL FLAGS
2243
2362
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2244
2363
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2364
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2365
+ --deny-write Refuse any change to instance data for this invocation.
2245
2366
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2246
2367
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2247
2368
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2248
2369
  stderr only.
2249
2370
  --log-level=<option> [default: info] Specify level for logging.
2250
2371
  <options: debug|warn|error|info|trace>
2372
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2373
+ unaffected.
2251
2374
 
2252
2375
  DESCRIPTION
2253
2376
  Retrieve flow execution log entries for a given context.
@@ -2274,7 +2397,7 @@ EXAMPLES
2274
2397
  $ nex flow logs -c d4e5f6789012345678abcdef01234567 --json --auth dev
2275
2398
  ```
2276
2399
 
2277
- _See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/logs.ts)_
2400
+ _See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/logs.ts)_
2278
2401
 
2279
2402
  ## `nex flow message`
2280
2403
 
@@ -2282,8 +2405,9 @@ Send a message to a paused flow execution.
2282
2405
 
2283
2406
  ```
2284
2407
  USAGE
2285
- $ nex flow message -c <value> -m <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
2286
- [--log-level debug|warn|error|info|trace] [-p <value>] [--scope <value>]
2408
+ $ nex flow message -c <value> -m <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
2409
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-p <value>] [--scope
2410
+ <value>]
2287
2411
 
2288
2412
  FLAGS
2289
2413
  -a, --auth=<value> Auth alias to use.
@@ -2296,12 +2420,16 @@ FLAGS
2296
2420
  GLOBAL FLAGS
2297
2421
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2298
2422
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2423
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2424
+ --deny-write Refuse any change to instance data for this invocation.
2299
2425
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2300
2426
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2301
2427
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2302
2428
  stderr only.
2303
2429
  --log-level=<option> [default: info] Specify level for logging.
2304
2430
  <options: debug|warn|error|info|trace>
2431
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2432
+ unaffected.
2305
2433
 
2306
2434
  DESCRIPTION
2307
2435
  Send a message to a paused flow execution.
@@ -2319,7 +2447,7 @@ EXAMPLES
2319
2447
  $ nex flow message --context-id abc123def456 --message "data_ready" --payload '{"status":"ok"}' --auth dev
2320
2448
  ```
2321
2449
 
2322
- _See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/message.ts)_
2450
+ _See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/message.ts)_
2323
2451
 
2324
2452
  ## `nex flow outputs`
2325
2453
 
@@ -2327,8 +2455,8 @@ Retrieve outputs from a completed flow execution.
2327
2455
 
2328
2456
  ```
2329
2457
  USAGE
2330
- $ nex flow outputs -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
2331
- debug|warn|error|info|trace] [--scope <value>]
2458
+ $ nex flow outputs -c <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
2459
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--scope <value>]
2332
2460
 
2333
2461
  FLAGS
2334
2462
  -a, --auth=<value> Auth alias to use.
@@ -2339,12 +2467,16 @@ FLAGS
2339
2467
  GLOBAL FLAGS
2340
2468
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2341
2469
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2470
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2471
+ --deny-write Refuse any change to instance data for this invocation.
2342
2472
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2343
2473
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2344
2474
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2345
2475
  stderr only.
2346
2476
  --log-level=<option> [default: info] Specify level for logging.
2347
2477
  <options: debug|warn|error|info|trace>
2478
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2479
+ unaffected.
2348
2480
 
2349
2481
  DESCRIPTION
2350
2482
  Retrieve outputs from a completed flow execution.
@@ -2361,7 +2493,7 @@ EXAMPLES
2361
2493
  $ nex flow outputs --context-id abc123def456 --json --auth dev
2362
2494
  ```
2363
2495
 
2364
- _See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/outputs.ts)_
2496
+ _See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/outputs.ts)_
2365
2497
 
2366
2498
  ## `nex flow run`
2367
2499
 
@@ -2369,8 +2501,9 @@ Execute a published Flow Designer flow by scoped name.
2369
2501
 
2370
2502
  ```
2371
2503
  USAGE
2372
- $ nex flow run -n <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
2373
- debug|warn|error|info|trace] [-i <value>] [-m foreground|background] [--scope <value>] [--quick]
2504
+ $ nex flow run -n <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
2505
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-i <value>] [-m
2506
+ foreground|background] [--scope <value>] [--quick]
2374
2507
 
2375
2508
  FLAGS
2376
2509
  -a, --auth=<value> Auth alias to use.
@@ -2385,12 +2518,16 @@ FLAGS
2385
2518
  GLOBAL FLAGS
2386
2519
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2387
2520
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2521
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2522
+ --deny-write Refuse any change to instance data for this invocation.
2388
2523
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2389
2524
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2390
2525
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2391
2526
  stderr only.
2392
2527
  --log-level=<option> [default: info] Specify level for logging.
2393
2528
  <options: debug|warn|error|info|trace>
2529
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2530
+ unaffected.
2394
2531
 
2395
2532
  DESCRIPTION
2396
2533
  Execute a published Flow Designer flow by scoped name.
@@ -2422,7 +2559,7 @@ EXAMPLES
2422
2559
  $ nex flow run --name global.my_flow --mode background --auth dev
2423
2560
  ```
2424
2561
 
2425
- _See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/run.ts)_
2562
+ _See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/run.ts)_
2426
2563
 
2427
2564
  ## `nex flow status`
2428
2565
 
@@ -2430,8 +2567,8 @@ Get the status of a flow execution context.
2430
2567
 
2431
2568
  ```
2432
2569
  USAGE
2433
- $ nex flow status -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
2434
- debug|warn|error|info|trace] [--scope <value>]
2570
+ $ nex flow status -c <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
2571
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--scope <value>]
2435
2572
 
2436
2573
  FLAGS
2437
2574
  -a, --auth=<value> Auth alias to use.
@@ -2442,12 +2579,16 @@ FLAGS
2442
2579
  GLOBAL FLAGS
2443
2580
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2444
2581
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2582
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2583
+ --deny-write Refuse any change to instance data for this invocation.
2445
2584
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2446
2585
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2447
2586
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2448
2587
  stderr only.
2449
2588
  --log-level=<option> [default: info] Specify level for logging.
2450
2589
  <options: debug|warn|error|info|trace>
2590
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2591
+ unaffected.
2451
2592
 
2452
2593
  DESCRIPTION
2453
2594
  Get the status of a flow execution context.
@@ -2462,7 +2603,7 @@ EXAMPLES
2462
2603
  $ nex flow status --context-id abc123def456 --auth dev
2463
2604
  ```
2464
2605
 
2465
- _See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/status.ts)_
2606
+ _See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/status.ts)_
2466
2607
 
2467
2608
  ## `nex flow subflow`
2468
2609
 
@@ -2470,8 +2611,9 @@ Execute a published Flow Designer subflow by scoped name.
2470
2611
 
2471
2612
  ```
2472
2613
  USAGE
2473
- $ nex flow subflow -n <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
2474
- debug|warn|error|info|trace] [-i <value>] [-m foreground|background] [--scope <value>] [--quick]
2614
+ $ nex flow subflow -n <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
2615
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-i <value>] [-m
2616
+ foreground|background] [--scope <value>] [--quick]
2475
2617
 
2476
2618
  FLAGS
2477
2619
  -a, --auth=<value> Auth alias to use.
@@ -2486,12 +2628,16 @@ FLAGS
2486
2628
  GLOBAL FLAGS
2487
2629
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2488
2630
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2631
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2632
+ --deny-write Refuse any change to instance data for this invocation.
2489
2633
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2490
2634
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2491
2635
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2492
2636
  stderr only.
2493
2637
  --log-level=<option> [default: info] Specify level for logging.
2494
2638
  <options: debug|warn|error|info|trace>
2639
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2640
+ unaffected.
2495
2641
 
2496
2642
  DESCRIPTION
2497
2643
  Execute a published Flow Designer subflow by scoped name.
@@ -2517,7 +2663,7 @@ EXAMPLES
2517
2663
  $ nex flow subflow --name x_myapp.process_record --inputs '{"table":"incident","sys_id":"abc123"}' --auth dev
2518
2664
  ```
2519
2665
 
2520
- _See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/subflow.ts)_
2666
+ _See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/subflow.ts)_
2521
2667
 
2522
2668
  ## `nex flow test`
2523
2669
 
@@ -2525,8 +2671,9 @@ Test a Flow Designer flow without requiring it to be published.
2525
2671
 
2526
2672
  ```
2527
2673
  USAGE
2528
- $ nex flow test -f <value> -o <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
2529
- [--log-level debug|warn|error|info|trace] [--scope <value>] [--synchronous]
2674
+ $ nex flow test -f <value> -o <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
2675
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--scope <value>]
2676
+ [--synchronous]
2530
2677
 
2531
2678
  FLAGS
2532
2679
  -a, --auth=<value> Auth alias to use.
@@ -2540,12 +2687,16 @@ FLAGS
2540
2687
  GLOBAL FLAGS
2541
2688
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2542
2689
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2690
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2691
+ --deny-write Refuse any change to instance data for this invocation.
2543
2692
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2544
2693
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2545
2694
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2546
2695
  stderr only.
2547
2696
  --log-level=<option> [default: info] Specify level for logging.
2548
2697
  <options: debug|warn|error|info|trace>
2698
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2699
+ unaffected.
2549
2700
 
2550
2701
  DESCRIPTION
2551
2702
  Test a Flow Designer flow without requiring it to be published.
@@ -2575,7 +2726,7 @@ EXAMPLES
2575
2726
  $ nex flow test -f 887dda5583237210fdb8f7b6feaad32c -o '{"current":"abc123"}' --json --auth dev
2576
2727
  ```
2577
2728
 
2578
- _See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/test.ts)_
2729
+ _See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/flow/test.ts)_
2579
2730
 
2580
2731
  ## `nex health check`
2581
2732
 
@@ -2583,9 +2734,9 @@ Run a consolidated health check on a ServiceNow instance.
2583
2734
 
2584
2735
  ```
2585
2736
  USAGE
2586
- $ nex health check [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
2587
- debug|warn|error|info|trace] [--include-version] [--include-cluster] [--include-stuck-jobs] [--include-semaphores]
2588
- [--include-operational-counts] [--stuck-job-threshold <value>]
2737
+ $ nex health check [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
2738
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--include-version] [--include-cluster]
2739
+ [--include-stuck-jobs] [--include-semaphores] [--include-operational-counts] [--stuck-job-threshold <value>]
2589
2740
 
2590
2741
  FLAGS
2591
2742
  -a, --auth=<value> Auth alias to use.
@@ -2600,12 +2751,16 @@ FLAGS
2600
2751
  GLOBAL FLAGS
2601
2752
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2602
2753
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2754
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2755
+ --deny-write Refuse any change to instance data for this invocation.
2603
2756
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2604
2757
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
2605
2758
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
2606
2759
  stderr only.
2607
2760
  --log-level=<option> [default: info] Specify level for logging.
2608
2761
  <options: debug|warn|error|info|trace>
2762
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2763
+ unaffected.
2609
2764
 
2610
2765
  DESCRIPTION
2611
2766
  Run a consolidated health check on a ServiceNow instance.
@@ -2641,7 +2796,7 @@ EXAMPLES
2641
2796
  $ nex health check --json --auth dev
2642
2797
  ```
2643
2798
 
2644
- _See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/health/check.ts)_
2799
+ _See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/health/check.ts)_
2645
2800
 
2646
2801
  ## `nex help [COMMAND]`
2647
2802
 
@@ -2661,7 +2816,7 @@ DESCRIPTION
2661
2816
  Display help for nex.
2662
2817
  ```
2663
2818
 
2664
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.55/src/commands/help.ts)_
2819
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.56/src/commands/help.ts)_
2665
2820
 
2666
2821
  ## `nex log`
2667
2822
 
@@ -2669,8 +2824,9 @@ Tail and monitor ServiceNow system logs in real-time with beautiful formatting.
2669
2824
 
2670
2825
  ```
2671
2826
  USAGE
2672
- $ nex log [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
2673
- debug|warn|error|info|trace] [-o <value>] [-i <value>] [--no-color] [-f <value>...]
2827
+ $ nex log [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
2828
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-o <value>] [-i <value>] [--no-color] [-f
2829
+ <value>...]
2674
2830
 
2675
2831
  FLAGS
2676
2832
  -a, --auth=<value> Auth alias to use.
@@ -2685,6 +2841,8 @@ FLAGS
2685
2841
  GLOBAL FLAGS
2686
2842
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2687
2843
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2844
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
2845
+ --deny-write Refuse any change to instance data for this invocation.
2688
2846
  --json Format output as json.
2689
2847
  --log-dir=<value> Directory to write log files to. Implies --log-file.
2690
2848
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -2692,6 +2850,8 @@ GLOBAL FLAGS
2692
2850
  stderr only.
2693
2851
  --log-level=<option> [default: info] Specify level for logging.
2694
2852
  <options: debug|warn|error|info|trace>
2853
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
2854
+ unaffected.
2695
2855
 
2696
2856
  DESCRIPTION
2697
2857
  Tail and monitor ServiceNow system logs in real-time with beautiful formatting.
@@ -2772,7 +2932,7 @@ EXAMPLES
2772
2932
  $ nex log --no-color --auth dev-instance
2773
2933
  ```
2774
2934
 
2775
- _See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/log/index.ts)_
2935
+ _See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/log/index.ts)_
2776
2936
 
2777
2937
  ## `nex plugins`
2778
2938
 
@@ -3064,14 +3224,47 @@ DESCRIPTION
3064
3224
 
3065
3225
  _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.86/src/commands/plugins/update.ts)_
3066
3226
 
3227
+ ## `nex policy status`
3228
+
3229
+ Show what this invocation is permitted to change on the instance, and why.
3230
+
3231
+ ```
3232
+ USAGE
3233
+ $ nex policy status [--json] [--deny-execute] [--deny-write] [--read-only]
3234
+
3235
+ FLAGS
3236
+ --deny-execute Evaluate as if --deny-execute were passed.
3237
+ --deny-write Evaluate as if --deny-write were passed.
3238
+ --read-only Evaluate as if --read-only were passed.
3239
+
3240
+ GLOBAL FLAGS
3241
+ --json Format output as json.
3242
+
3243
+ DESCRIPTION
3244
+ Show what this invocation is permitted to change on the instance, and why.
3245
+
3246
+ Changes are permitted by default. NEX_POLICY_DENY, set in the environment, outranks every command-line flag — that is
3247
+ the only layer an agent driving this CLI cannot reach.
3248
+
3249
+ EXAMPLES
3250
+ $ nex policy status
3251
+
3252
+ $ nex policy status --read-only
3253
+
3254
+ NEX_POLICY_DENY=all nex policy status
3255
+ ```
3256
+
3257
+ _See code: [src/commands/policy/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/policy/status.ts)_
3258
+
3067
3259
  ## `nex query`
3068
3260
 
3069
3261
  Query any ServiceNow table using the Table API.
3070
3262
 
3071
3263
  ```
3072
3264
  USAGE
3073
- $ nex query -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3074
- debug|warn|error|info|trace] [-q <value>] [-f <value>] [-d] [-l <value>]
3265
+ $ nex query -t <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
3266
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-q <value>] [-f <value>] [-d] [-l
3267
+ <value>]
3075
3268
 
3076
3269
  FLAGS
3077
3270
  -a, --auth=<value> Auth alias to use.
@@ -3085,12 +3278,16 @@ FLAGS
3085
3278
  GLOBAL FLAGS
3086
3279
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3087
3280
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3281
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3282
+ --deny-write Refuse any change to instance data for this invocation.
3088
3283
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3089
3284
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
3090
3285
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
3091
3286
  stderr only.
3092
3287
  --log-level=<option> [default: info] Specify level for logging.
3093
3288
  <options: debug|warn|error|info|trace>
3289
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3290
+ unaffected.
3094
3291
 
3095
3292
  DESCRIPTION
3096
3293
  Query any ServiceNow table using the Table API.
@@ -3120,7 +3317,7 @@ EXAMPLES
3120
3317
  $ nex query --table sys_user --query "active=true" --limit 5 --json --auth dev
3121
3318
  ```
3122
3319
 
3123
- _See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/query/index.ts)_
3320
+ _See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/query/index.ts)_
3124
3321
 
3125
3322
  ## `nex query app`
3126
3323
 
@@ -3128,8 +3325,8 @@ Search for applications by name across scoped apps and plugins.
3128
3325
 
3129
3326
  ```
3130
3327
  USAGE
3131
- $ nex query app -s <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3132
- debug|warn|error|info|trace] [-a] [-l <value>]
3328
+ $ nex query app -s <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
3329
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-a] [-l <value>]
3133
3330
 
3134
3331
  FLAGS
3135
3332
  -a, --active Only show active applications
@@ -3141,12 +3338,16 @@ FLAGS
3141
3338
  GLOBAL FLAGS
3142
3339
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3143
3340
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3341
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3342
+ --deny-write Refuse any change to instance data for this invocation.
3144
3343
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3145
3344
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
3146
3345
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
3147
3346
  stderr only.
3148
3347
  --log-level=<option> [default: info] Specify level for logging.
3149
3348
  <options: debug|warn|error|info|trace>
3349
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3350
+ unaffected.
3150
3351
 
3151
3352
  DESCRIPTION
3152
3353
  Search for applications by name across scoped apps and plugins.
@@ -3169,7 +3370,7 @@ EXAMPLES
3169
3370
  $ nex query app --search "HR" --active --auth dev
3170
3371
  ```
3171
3372
 
3172
- _See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/query/app.ts)_
3373
+ _See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/query/app.ts)_
3173
3374
 
3174
3375
  ## `nex query columns`
3175
3376
 
@@ -3177,8 +3378,8 @@ List and search columns (fields) on a ServiceNow table.
3177
3378
 
3178
3379
  ```
3179
3380
  USAGE
3180
- $ nex query columns -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3181
- debug|warn|error|info|trace] [-s <value>]
3381
+ $ nex query columns -t <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
3382
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-s <value>]
3182
3383
 
3183
3384
  FLAGS
3184
3385
  -a, --auth=<value> Auth alias to use.
@@ -3189,12 +3390,16 @@ FLAGS
3189
3390
  GLOBAL FLAGS
3190
3391
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3191
3392
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3393
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3394
+ --deny-write Refuse any change to instance data for this invocation.
3192
3395
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3193
3396
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
3194
3397
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
3195
3398
  stderr only.
3196
3399
  --log-level=<option> [default: info] Specify level for logging.
3197
3400
  <options: debug|warn|error|info|trace>
3401
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3402
+ unaffected.
3198
3403
 
3199
3404
  DESCRIPTION
3200
3405
  List and search columns (fields) on a ServiceNow table.
@@ -3220,7 +3425,7 @@ EXAMPLES
3220
3425
  $ nex query columns --table incident --json --auth dev
3221
3426
  ```
3222
3427
 
3223
- _See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/query/columns.ts)_
3428
+ _See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/query/columns.ts)_
3224
3429
 
3225
3430
  ## `nex query syslog`
3226
3431
 
@@ -3228,8 +3433,8 @@ Query ServiceNow system logs (one-shot, non-tailing).
3228
3433
 
3229
3434
  ```
3230
3435
  USAGE
3231
- $ nex query syslog [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3232
- debug|warn|error|info|trace] [-q <value>] [-l <value>]
3436
+ $ nex query syslog [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
3437
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-q <value>] [-l <value>]
3233
3438
 
3234
3439
  FLAGS
3235
3440
  -a, --auth=<value> Auth alias to use.
@@ -3240,12 +3445,16 @@ FLAGS
3240
3445
  GLOBAL FLAGS
3241
3446
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3242
3447
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3448
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3449
+ --deny-write Refuse any change to instance data for this invocation.
3243
3450
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3244
3451
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
3245
3452
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
3246
3453
  stderr only.
3247
3454
  --log-level=<option> [default: info] Specify level for logging.
3248
3455
  <options: debug|warn|error|info|trace>
3456
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3457
+ unaffected.
3249
3458
 
3250
3459
  DESCRIPTION
3251
3460
  Query ServiceNow system logs (one-shot, non-tailing).
@@ -3273,7 +3482,7 @@ EXAMPLES
3273
3482
  $ nex query syslog --query "sourceLIKEincident" --json --auth dev
3274
3483
  ```
3275
3484
 
3276
- _See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/query/syslog.ts)_
3485
+ _See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/query/syslog.ts)_
3277
3486
 
3278
3487
  ## `nex schema`
3279
3488
 
@@ -3281,9 +3490,9 @@ Discover and inspect a ServiceNow table schema including fields, types, and rela
3281
3490
 
3282
3491
  ```
3283
3492
  USAGE
3284
- $ nex schema -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3285
- debug|warn|error|info|trace] [--include-choices] [--include-relationships] [--include-ui-policies]
3286
- [--include-business-rules]
3493
+ $ nex schema -t <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
3494
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--include-choices]
3495
+ [--include-relationships] [--include-ui-policies] [--include-business-rules]
3287
3496
 
3288
3497
  FLAGS
3289
3498
  -a, --auth=<value> Auth alias to use.
@@ -3297,12 +3506,16 @@ FLAGS
3297
3506
  GLOBAL FLAGS
3298
3507
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3299
3508
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3509
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3510
+ --deny-write Refuse any change to instance data for this invocation.
3300
3511
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3301
3512
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
3302
3513
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
3303
3514
  stderr only.
3304
3515
  --log-level=<option> [default: info] Specify level for logging.
3305
3516
  <options: debug|warn|error|info|trace>
3517
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3518
+ unaffected.
3306
3519
 
3307
3520
  DESCRIPTION
3308
3521
  Discover and inspect a ServiceNow table schema including fields, types, and relationships.
@@ -3328,7 +3541,7 @@ EXAMPLES
3328
3541
  $ nex schema --table incident --include-choices --include-relationships --auth dev
3329
3542
  ```
3330
3543
 
3331
- _See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/schema/index.ts)_
3544
+ _See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/schema/index.ts)_
3332
3545
 
3333
3546
  ## `nex schema field`
3334
3547
 
@@ -3336,8 +3549,8 @@ Get detailed information about a specific field on a ServiceNow table.
3336
3549
 
3337
3550
  ```
3338
3551
  USAGE
3339
- $ nex schema field -t <value> -f <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
3340
- [--log-level debug|warn|error|info|trace]
3552
+ $ nex schema field -t <value> -f <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
3553
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
3341
3554
 
3342
3555
  FLAGS
3343
3556
  -a, --auth=<value> Auth alias to use.
@@ -3348,12 +3561,16 @@ FLAGS
3348
3561
  GLOBAL FLAGS
3349
3562
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3350
3563
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3564
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3565
+ --deny-write Refuse any change to instance data for this invocation.
3351
3566
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3352
3567
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
3353
3568
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
3354
3569
  stderr only.
3355
3570
  --log-level=<option> [default: info] Specify level for logging.
3356
3571
  <options: debug|warn|error|info|trace>
3572
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3573
+ unaffected.
3357
3574
 
3358
3575
  DESCRIPTION
3359
3576
  Get detailed information about a specific field on a ServiceNow table.
@@ -3371,7 +3588,7 @@ EXAMPLES
3371
3588
  $ nex schema field --table incident --field priority --json --auth dev
3372
3589
  ```
3373
3590
 
3374
- _See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/schema/field.ts)_
3591
+ _See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/schema/field.ts)_
3375
3592
 
3376
3593
  ## `nex schema validate-catalog`
3377
3594
 
@@ -3379,8 +3596,8 @@ Validate a ServiceNow catalog item configuration for common issues.
3379
3596
 
3380
3597
  ```
3381
3598
  USAGE
3382
- $ nex schema validate-catalog -s <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3383
- debug|warn|error|info|trace]
3599
+ $ nex schema validate-catalog -s <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
3600
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
3384
3601
 
3385
3602
  FLAGS
3386
3603
  -a, --auth=<value> Auth alias to use.
@@ -3390,12 +3607,16 @@ FLAGS
3390
3607
  GLOBAL FLAGS
3391
3608
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3392
3609
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3610
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3611
+ --deny-write Refuse any change to instance data for this invocation.
3393
3612
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3394
3613
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
3395
3614
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
3396
3615
  stderr only.
3397
3616
  --log-level=<option> [default: info] Specify level for logging.
3398
3617
  <options: debug|warn|error|info|trace>
3618
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3619
+ unaffected.
3399
3620
 
3400
3621
  DESCRIPTION
3401
3622
  Validate a ServiceNow catalog item configuration for common issues.
@@ -3413,7 +3634,7 @@ EXAMPLES
3413
3634
  $ nex schema validate-catalog --sys-id a1b2c3d4e5f6 --json --auth dev
3414
3635
  ```
3415
3636
 
3416
- _See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/schema/validate-catalog.ts)_
3637
+ _See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/schema/validate-catalog.ts)_
3417
3638
 
3418
3639
  ## `nex scope`
3419
3640
 
@@ -3421,8 +3642,8 @@ Get the current application scope or list available applications.
3421
3642
 
3422
3643
  ```
3423
3644
  USAGE
3424
- $ nex scope [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3425
- debug|warn|error|info|trace] [-l]
3645
+ $ nex scope [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
3646
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-l]
3426
3647
 
3427
3648
  FLAGS
3428
3649
  -a, --auth=<value> Auth alias to use.
@@ -3431,6 +3652,8 @@ FLAGS
3431
3652
  GLOBAL FLAGS
3432
3653
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3433
3654
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3655
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3656
+ --deny-write Refuse any change to instance data for this invocation.
3434
3657
  --json Format output as json.
3435
3658
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3436
3659
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3438,6 +3661,8 @@ GLOBAL FLAGS
3438
3661
  stderr only.
3439
3662
  --log-level=<option> [default: info] Specify level for logging.
3440
3663
  <options: debug|warn|error|info|trace>
3664
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3665
+ unaffected.
3441
3666
 
3442
3667
  DESCRIPTION
3443
3668
  Get the current application scope or list available applications.
@@ -3456,7 +3681,7 @@ EXAMPLES
3456
3681
  $ nex scope -l --json --auth dev
3457
3682
  ```
3458
3683
 
3459
- _See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/scope/index.ts)_
3684
+ _See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/scope/index.ts)_
3460
3685
 
3461
3686
  ## `nex scope set`
3462
3687
 
@@ -3464,8 +3689,8 @@ Set the current application scope on a ServiceNow instance.
3464
3689
 
3465
3690
  ```
3466
3691
  USAGE
3467
- $ nex scope set -a <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3468
- debug|warn|error|info|trace]
3692
+ $ nex scope set -a <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
3693
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
3469
3694
 
3470
3695
  FLAGS
3471
3696
  -a, --app-id=<value> (required) 32-char sys_id of application
@@ -3474,6 +3699,8 @@ FLAGS
3474
3699
  GLOBAL FLAGS
3475
3700
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3476
3701
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3702
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3703
+ --deny-write Refuse any change to instance data for this invocation.
3477
3704
  --json Format output as json.
3478
3705
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3479
3706
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3481,6 +3708,8 @@ GLOBAL FLAGS
3481
3708
  stderr only.
3482
3709
  --log-level=<option> [default: info] Specify level for logging.
3483
3710
  <options: debug|warn|error|info|trace>
3711
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3712
+ unaffected.
3484
3713
 
3485
3714
  DESCRIPTION
3486
3715
  Set the current application scope on a ServiceNow instance.
@@ -3495,7 +3724,7 @@ EXAMPLES
3495
3724
  $ nex scope set -a abc123def456ghi789jkl012mno345pq --json --auth dev
3496
3725
  ```
3497
3726
 
3498
- _See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/scope/set.ts)_
3727
+ _See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/scope/set.ts)_
3499
3728
 
3500
3729
  ## `nex script-sync pull`
3501
3730
 
@@ -3504,8 +3733,8 @@ Pull a script from a ServiceNow instance to a local file.
3504
3733
  ```
3505
3734
  USAGE
3506
3735
  $ nex script-sync pull -n <value> -t sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client
3507
- [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [-o
3508
- <value>]
3736
+ [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>] [--log-file] [--log-level
3737
+ debug|warn|error|info|trace] [--read-only] [-o <value>]
3509
3738
 
3510
3739
  FLAGS
3511
3740
  -a, --auth=<value> Auth alias to use.
@@ -3517,6 +3746,8 @@ FLAGS
3517
3746
  GLOBAL FLAGS
3518
3747
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3519
3748
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3749
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3750
+ --deny-write Refuse any change to instance data for this invocation.
3520
3751
  --json Format output as json.
3521
3752
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3522
3753
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3524,6 +3755,8 @@ GLOBAL FLAGS
3524
3755
  stderr only.
3525
3756
  --log-level=<option> [default: info] Specify level for logging.
3526
3757
  <options: debug|warn|error|info|trace>
3758
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3759
+ unaffected.
3527
3760
 
3528
3761
  DESCRIPTION
3529
3762
  Pull a script from a ServiceNow instance to a local file.
@@ -3551,7 +3784,7 @@ EXAMPLES
3551
3784
  $ nex script-sync pull -n MyClientScript -t sys_script_client --json --auth dev-instance
3552
3785
  ```
3553
3786
 
3554
- _See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/script-sync/pull.ts)_
3787
+ _See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/script-sync/pull.ts)_
3555
3788
 
3556
3789
  ## `nex script-sync push`
3557
3790
 
@@ -3560,8 +3793,8 @@ Push a local script file to a ServiceNow instance.
3560
3793
  ```
3561
3794
  USAGE
3562
3795
  $ nex script-sync push -n <value> -t sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client -f
3563
- <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3564
- debug|warn|error|info|trace]
3796
+ <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>] [--log-file]
3797
+ [--log-level debug|warn|error|info|trace] [--read-only]
3565
3798
 
3566
3799
  FLAGS
3567
3800
  -a, --auth=<value> Auth alias to use.
@@ -3573,6 +3806,8 @@ FLAGS
3573
3806
  GLOBAL FLAGS
3574
3807
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3575
3808
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3809
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3810
+ --deny-write Refuse any change to instance data for this invocation.
3576
3811
  --json Format output as json.
3577
3812
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3578
3813
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3580,6 +3815,8 @@ GLOBAL FLAGS
3580
3815
  stderr only.
3581
3816
  --log-level=<option> [default: info] Specify level for logging.
3582
3817
  <options: debug|warn|error|info|trace>
3818
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3819
+ unaffected.
3583
3820
 
3584
3821
  DESCRIPTION
3585
3822
  Push a local script file to a ServiceNow instance.
@@ -3608,7 +3845,7 @@ EXAMPLES
3608
3845
  $ nex script-sync push -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance
3609
3846
  ```
3610
3847
 
3611
- _See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/script-sync/push.ts)_
3848
+ _See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/script-sync/push.ts)_
3612
3849
 
3613
3850
  ## `nex script-sync sync`
3614
3851
 
@@ -3616,8 +3853,9 @@ Synchronize all scripts in a directory with a ServiceNow instance.
3616
3853
 
3617
3854
  ```
3618
3855
  USAGE
3619
- $ nex script-sync sync -d <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3620
- debug|warn|error|info|trace] [-t sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client...]
3856
+ $ nex script-sync sync -d <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
3857
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-t
3858
+ sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client...]
3621
3859
 
3622
3860
  FLAGS
3623
3861
  -a, --auth=<value> Auth alias to use.
@@ -3628,6 +3866,8 @@ FLAGS
3628
3866
  GLOBAL FLAGS
3629
3867
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3630
3868
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3869
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3870
+ --deny-write Refuse any change to instance data for this invocation.
3631
3871
  --json Format output as json.
3632
3872
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3633
3873
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3635,6 +3875,8 @@ GLOBAL FLAGS
3635
3875
  stderr only.
3636
3876
  --log-level=<option> [default: info] Specify level for logging.
3637
3877
  <options: debug|warn|error|info|trace>
3878
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3879
+ unaffected.
3638
3880
 
3639
3881
  DESCRIPTION
3640
3882
  Synchronize all scripts in a directory with a ServiceNow instance.
@@ -3662,7 +3904,7 @@ EXAMPLES
3662
3904
  $ nex script-sync sync -d ./scripts --json --auth dev-instance
3663
3905
  ```
3664
3906
 
3665
- _See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/script-sync/sync.ts)_
3907
+ _See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/script-sync/sync.ts)_
3666
3908
 
3667
3909
  ## `nex search`
3668
3910
 
@@ -3670,8 +3912,9 @@ Search platform code across a ServiceNow instance.
3670
3912
 
3671
3913
  ```
3672
3914
  USAGE
3673
- $ nex search -t <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3674
- debug|warn|error|info|trace] [-l <value>] [-s <value>] [-g <value>] [--table <value>]
3915
+ $ nex search -t <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
3916
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-l <value>] [-s <value>] [-g <value>]
3917
+ [--table <value>]
3675
3918
 
3676
3919
  FLAGS
3677
3920
  -a, --auth=<value> Auth alias to use.
@@ -3684,6 +3927,8 @@ FLAGS
3684
3927
  GLOBAL FLAGS
3685
3928
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3686
3929
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3930
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3931
+ --deny-write Refuse any change to instance data for this invocation.
3687
3932
  --json Format output as json.
3688
3933
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3689
3934
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3691,6 +3936,8 @@ GLOBAL FLAGS
3691
3936
  stderr only.
3692
3937
  --log-level=<option> [default: info] Specify level for logging.
3693
3938
  <options: debug|warn|error|info|trace>
3939
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
3940
+ unaffected.
3694
3941
 
3695
3942
  DESCRIPTION
3696
3943
  Search platform code across a ServiceNow instance.
@@ -3724,7 +3971,7 @@ EXAMPLES
3724
3971
  $ nex search --term "GlideRecord" --limit 10 --json --auth dev-instance
3725
3972
  ```
3726
3973
 
3727
- _See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/search/index.ts)_
3974
+ _See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/search/index.ts)_
3728
3975
 
3729
3976
  ## `nex search add-table`
3730
3977
 
@@ -3732,8 +3979,8 @@ Add a table to a code search group on a ServiceNow instance.
3732
3979
 
3733
3980
  ```
3734
3981
  USAGE
3735
- $ nex search add-table -f <value> -g <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>]
3736
- [--log-file] [--log-level debug|warn|error|info|trace]
3982
+ $ nex search add-table -f <value> -g <value> -t <value> [--json] [-a <value>] [--cred-store] [--deny-execute]
3983
+ [--deny-write] [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
3737
3984
 
3738
3985
  FLAGS
3739
3986
  -a, --auth=<value> Auth alias to use.
@@ -3744,6 +3991,8 @@ FLAGS
3744
3991
  GLOBAL FLAGS
3745
3992
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3746
3993
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3994
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
3995
+ --deny-write Refuse any change to instance data for this invocation.
3747
3996
  --json Format output as json.
3748
3997
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3749
3998
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3751,6 +4000,8 @@ GLOBAL FLAGS
3751
4000
  stderr only.
3752
4001
  --log-level=<option> [default: info] Specify level for logging.
3753
4002
  <options: debug|warn|error|info|trace>
4003
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4004
+ unaffected.
3754
4005
 
3755
4006
  DESCRIPTION
3756
4007
  Add a table to a code search group on a ServiceNow instance.
@@ -3780,7 +4031,7 @@ EXAMPLES
3780
4031
  dev-instance
3781
4032
  ```
3782
4033
 
3783
- _See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/search/add-table.ts)_
4034
+ _See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/search/add-table.ts)_
3784
4035
 
3785
4036
  ## `nex search groups`
3786
4037
 
@@ -3788,8 +4039,8 @@ List all available code search groups on a ServiceNow instance.
3788
4039
 
3789
4040
  ```
3790
4041
  USAGE
3791
- $ nex search groups [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3792
- debug|warn|error|info|trace]
4042
+ $ nex search groups [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
4043
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
3793
4044
 
3794
4045
  FLAGS
3795
4046
  -a, --auth=<value> Auth alias to use.
@@ -3797,6 +4048,8 @@ FLAGS
3797
4048
  GLOBAL FLAGS
3798
4049
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3799
4050
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4051
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4052
+ --deny-write Refuse any change to instance data for this invocation.
3800
4053
  --json Format output as json.
3801
4054
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3802
4055
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3804,6 +4057,8 @@ GLOBAL FLAGS
3804
4057
  stderr only.
3805
4058
  --log-level=<option> [default: info] Specify level for logging.
3806
4059
  <options: debug|warn|error|info|trace>
4060
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4061
+ unaffected.
3807
4062
 
3808
4063
  DESCRIPTION
3809
4064
  List all available code search groups on a ServiceNow instance.
@@ -3825,7 +4080,7 @@ EXAMPLES
3825
4080
  $ nex search groups --json --auth dev-instance
3826
4081
  ```
3827
4082
 
3828
- _See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/search/groups.ts)_
4083
+ _See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/search/groups.ts)_
3829
4084
 
3830
4085
  ## `nex search tables`
3831
4086
 
@@ -3833,8 +4088,8 @@ List tables configured for a specific code search group.
3833
4088
 
3834
4089
  ```
3835
4090
  USAGE
3836
- $ nex search tables -g <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3837
- debug|warn|error|info|trace]
4091
+ $ nex search tables -g <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
4092
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
3838
4093
 
3839
4094
  FLAGS
3840
4095
  -a, --auth=<value> Auth alias to use.
@@ -3843,6 +4098,8 @@ FLAGS
3843
4098
  GLOBAL FLAGS
3844
4099
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3845
4100
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4101
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4102
+ --deny-write Refuse any change to instance data for this invocation.
3846
4103
  --json Format output as json.
3847
4104
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3848
4105
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3850,6 +4107,8 @@ GLOBAL FLAGS
3850
4107
  stderr only.
3851
4108
  --log-level=<option> [default: info] Specify level for logging.
3852
4109
  <options: debug|warn|error|info|trace>
4110
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4111
+ unaffected.
3853
4112
 
3854
4113
  DESCRIPTION
3855
4114
  List tables configured for a specific code search group.
@@ -3872,7 +4131,7 @@ EXAMPLES
3872
4131
  $ nex search tables --search-group "Business Rules" --json --auth dev-instance
3873
4132
  ```
3874
4133
 
3875
- _See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/search/tables.ts)_
4134
+ _See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/search/tables.ts)_
3876
4135
 
3877
4136
  ## `nex store install`
3878
4137
 
@@ -3880,8 +4139,9 @@ Install an application from the ServiceNow Store.
3880
4139
 
3881
4140
  ```
3882
4141
  USAGE
3883
- $ nex store install -a <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
3884
- [--log-level debug|warn|error|info|trace] [--demo-data] [--no-wait] [--poll-interval <value>] [--timeout <value>]
4142
+ $ nex store install -a <value> -v <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
4143
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--demo-data] [--no-wait]
4144
+ [--poll-interval <value>] [--timeout <value>]
3885
4145
 
3886
4146
  FLAGS
3887
4147
  -a, --app-id=<value> (required) Store application sys_id
@@ -3895,6 +4155,8 @@ FLAGS
3895
4155
  GLOBAL FLAGS
3896
4156
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3897
4157
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4158
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4159
+ --deny-write Refuse any change to instance data for this invocation.
3898
4160
  --json Format output as json.
3899
4161
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3900
4162
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3902,6 +4164,8 @@ GLOBAL FLAGS
3902
4164
  stderr only.
3903
4165
  --log-level=<option> [default: info] Specify level for logging.
3904
4166
  <options: debug|warn|error|info|trace>
4167
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4168
+ unaffected.
3905
4169
 
3906
4170
  DESCRIPTION
3907
4171
  Install an application from the ServiceNow Store.
@@ -3920,7 +4184,7 @@ EXAMPLES
3920
4184
  $ nex store install -a abc123 -v 1.0.0 --demo-data --auth dev
3921
4185
  ```
3922
4186
 
3923
- _See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/store/install.ts)_
4187
+ _See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/store/install.ts)_
3924
4188
 
3925
4189
  ## `nex store search`
3926
4190
 
@@ -3928,8 +4192,9 @@ Search for applications in the ServiceNow Store.
3928
4192
 
3929
4193
  ```
3930
4194
  USAGE
3931
- $ nex store search [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
3932
- debug|warn|error|info|trace] [--limit <value>] [--tab available_for_you|installed|updates] [-t <value>]
4195
+ $ nex store search [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
4196
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--limit <value>] [--tab
4197
+ available_for_you|installed|updates] [-t <value>]
3933
4198
 
3934
4199
  FLAGS
3935
4200
  -a, --auth=<value> Auth alias to use.
@@ -3941,6 +4206,8 @@ FLAGS
3941
4206
  GLOBAL FLAGS
3942
4207
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3943
4208
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4209
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4210
+ --deny-write Refuse any change to instance data for this invocation.
3944
4211
  --json Format output as json.
3945
4212
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3946
4213
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3948,6 +4215,8 @@ GLOBAL FLAGS
3948
4215
  stderr only.
3949
4216
  --log-level=<option> [default: info] Specify level for logging.
3950
4217
  <options: debug|warn|error|info|trace>
4218
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4219
+ unaffected.
3951
4220
 
3952
4221
  DESCRIPTION
3953
4222
  Search for applications in the ServiceNow Store.
@@ -3966,7 +4235,7 @@ EXAMPLES
3966
4235
  $ nex store search --tab updates --limit 10 --auth dev
3967
4236
  ```
3968
4237
 
3969
- _See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/store/search.ts)_
4238
+ _See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/store/search.ts)_
3970
4239
 
3971
4240
  ## `nex store update`
3972
4241
 
@@ -3974,8 +4243,9 @@ Update a ServiceNow Store application to a new version.
3974
4243
 
3975
4244
  ```
3976
4245
  USAGE
3977
- $ nex store update -a <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
3978
- [--log-level debug|warn|error|info|trace] [--no-wait] [--poll-interval <value>] [--timeout <value>]
4246
+ $ nex store update -a <value> -v <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
4247
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--no-wait]
4248
+ [--poll-interval <value>] [--timeout <value>]
3979
4249
 
3980
4250
  FLAGS
3981
4251
  -a, --app-id=<value> (required) Store application sys_id
@@ -3988,6 +4258,8 @@ FLAGS
3988
4258
  GLOBAL FLAGS
3989
4259
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3990
4260
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4261
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4262
+ --deny-write Refuse any change to instance data for this invocation.
3991
4263
  --json Format output as json.
3992
4264
  --log-dir=<value> Directory to write log files to. Implies --log-file.
3993
4265
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -3995,6 +4267,8 @@ GLOBAL FLAGS
3995
4267
  stderr only.
3996
4268
  --log-level=<option> [default: info] Specify level for logging.
3997
4269
  <options: debug|warn|error|info|trace>
4270
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4271
+ unaffected.
3998
4272
 
3999
4273
  DESCRIPTION
4000
4274
  Update a ServiceNow Store application to a new version.
@@ -4013,7 +4287,7 @@ EXAMPLES
4013
4287
  $ nex store update -a abc123 -v 2.0.0 --timeout 3600000 --auth dev
4014
4288
  ```
4015
4289
 
4016
- _See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/store/update.ts)_
4290
+ _See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/store/update.ts)_
4017
4291
 
4018
4292
  ## `nex store validate`
4019
4293
 
@@ -4021,8 +4295,8 @@ Validate a batch installation definition file.
4021
4295
 
4022
4296
  ```
4023
4297
  USAGE
4024
- $ nex store validate -f <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
4025
- debug|warn|error|info|trace]
4298
+ $ nex store validate -f <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
4299
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
4026
4300
 
4027
4301
  FLAGS
4028
4302
  -a, --auth=<value> Auth alias to use.
@@ -4031,6 +4305,8 @@ FLAGS
4031
4305
  GLOBAL FLAGS
4032
4306
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4033
4307
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4308
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4309
+ --deny-write Refuse any change to instance data for this invocation.
4034
4310
  --json Format output as json.
4035
4311
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4036
4312
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4038,6 +4314,8 @@ GLOBAL FLAGS
4038
4314
  stderr only.
4039
4315
  --log-level=<option> [default: info] Specify level for logging.
4040
4316
  <options: debug|warn|error|info|trace>
4317
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4318
+ unaffected.
4041
4319
 
4042
4320
  DESCRIPTION
4043
4321
  Validate a batch installation definition file.
@@ -4048,7 +4326,7 @@ EXAMPLES
4048
4326
  $ nex store validate --file ./batch-definition.json --auth dev
4049
4327
  ```
4050
4328
 
4051
- _See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/store/validate.ts)_
4329
+ _See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/store/validate.ts)_
4052
4330
 
4053
4331
  ## `nex task approve`
4054
4332
 
@@ -4056,8 +4334,8 @@ Approve a ServiceNow change request.
4056
4334
 
4057
4335
  ```
4058
4336
  USAGE
4059
- $ nex task approve -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
4060
- debug|warn|error|info|trace] [-c <value>]
4337
+ $ nex task approve -n <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
4338
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-c <value>]
4061
4339
 
4062
4340
  FLAGS
4063
4341
  -a, --auth=<value> Auth alias to use.
@@ -4067,6 +4345,8 @@ FLAGS
4067
4345
  GLOBAL FLAGS
4068
4346
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4069
4347
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4348
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4349
+ --deny-write Refuse any change to instance data for this invocation.
4070
4350
  --json Format output as json.
4071
4351
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4072
4352
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4074,6 +4354,8 @@ GLOBAL FLAGS
4074
4354
  stderr only.
4075
4355
  --log-level=<option> [default: info] Specify level for logging.
4076
4356
  <options: debug|warn|error|info|trace>
4357
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4358
+ unaffected.
4077
4359
 
4078
4360
  DESCRIPTION
4079
4361
  Approve a ServiceNow change request.
@@ -4095,7 +4377,7 @@ EXAMPLES
4095
4377
  $ nex task approve -n CHG0010001 -c "Looks good, approved" --auth dev
4096
4378
  ```
4097
4379
 
4098
- _See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/approve.ts)_
4380
+ _See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/task/approve.ts)_
4099
4381
 
4100
4382
  ## `nex task assign`
4101
4383
 
@@ -4103,8 +4385,9 @@ Assign a ServiceNow task to a user or group.
4103
4385
 
4104
4386
  ```
4105
4387
  USAGE
4106
- $ nex task assign -n <value> -u <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
4107
- [--log-level debug|warn|error|info|trace] [-g <value>] [--table <value>]
4388
+ $ nex task assign -n <value> -u <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
4389
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-g <value>] [--table
4390
+ <value>]
4108
4391
 
4109
4392
  FLAGS
4110
4393
  -a, --auth=<value> Auth alias to use.
@@ -4116,6 +4399,8 @@ FLAGS
4116
4399
  GLOBAL FLAGS
4117
4400
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4118
4401
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4402
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4403
+ --deny-write Refuse any change to instance data for this invocation.
4119
4404
  --json Format output as json.
4120
4405
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4121
4406
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4123,6 +4408,8 @@ GLOBAL FLAGS
4123
4408
  stderr only.
4124
4409
  --log-level=<option> [default: info] Specify level for logging.
4125
4410
  <options: debug|warn|error|info|trace>
4411
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4412
+ unaffected.
4126
4413
 
4127
4414
  DESCRIPTION
4128
4415
  Assign a ServiceNow task to a user or group.
@@ -4151,7 +4438,7 @@ EXAMPLES
4151
4438
  $ nex task assign --number CHG0010001 --table change_request --user admin --auth dev
4152
4439
  ```
4153
4440
 
4154
- _See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/assign.ts)_
4441
+ _See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/task/assign.ts)_
4155
4442
 
4156
4443
  ## `nex task close`
4157
4444
 
@@ -4159,8 +4446,9 @@ Close a ServiceNow incident.
4159
4446
 
4160
4447
  ```
4161
4448
  USAGE
4162
- $ nex task close --notes <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>]
4163
- [--log-file] [--log-level debug|warn|error|info|trace] [--close-code <value>]
4449
+ $ nex task close --notes <value> -n <value> [--json] [-a <value>] [--cred-store] [--deny-execute]
4450
+ [--deny-write] [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
4451
+ [--close-code <value>]
4164
4452
 
4165
4453
  FLAGS
4166
4454
  -a, --auth=<value> Auth alias to use.
@@ -4171,6 +4459,8 @@ FLAGS
4171
4459
  GLOBAL FLAGS
4172
4460
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4173
4461
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4462
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4463
+ --deny-write Refuse any change to instance data for this invocation.
4174
4464
  --json Format output as json.
4175
4465
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4176
4466
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4178,6 +4468,8 @@ GLOBAL FLAGS
4178
4468
  stderr only.
4179
4469
  --log-level=<option> [default: info] Specify level for logging.
4180
4470
  <options: debug|warn|error|info|trace>
4471
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4472
+ unaffected.
4181
4473
 
4182
4474
  DESCRIPTION
4183
4475
  Close a ServiceNow incident.
@@ -4200,7 +4492,7 @@ EXAMPLES
4200
4492
  $ nex task close -n INC0010001 --notes "Closed" --close-code "Solved (Permanently)" --auth dev
4201
4493
  ```
4202
4494
 
4203
- _See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/close.ts)_
4495
+ _See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/task/close.ts)_
4204
4496
 
4205
4497
  ## `nex task comment`
4206
4498
 
@@ -4208,8 +4500,9 @@ Add a comment or work note to a ServiceNow task.
4208
4500
 
4209
4501
  ```
4210
4502
  USAGE
4211
- $ nex task comment -c <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
4212
- [--log-level debug|warn|error|info|trace] [--table <value>] [--work-note]
4503
+ $ nex task comment -c <value> -n <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
4504
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--table <value>]
4505
+ [--work-note]
4213
4506
 
4214
4507
  FLAGS
4215
4508
  -a, --auth=<value> Auth alias to use.
@@ -4221,6 +4514,8 @@ FLAGS
4221
4514
  GLOBAL FLAGS
4222
4515
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4223
4516
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4517
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4518
+ --deny-write Refuse any change to instance data for this invocation.
4224
4519
  --json Format output as json.
4225
4520
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4226
4521
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4228,6 +4523,8 @@ GLOBAL FLAGS
4228
4523
  stderr only.
4229
4524
  --log-level=<option> [default: info] Specify level for logging.
4230
4525
  <options: debug|warn|error|info|trace>
4526
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4527
+ unaffected.
4231
4528
 
4232
4529
  DESCRIPTION
4233
4530
  Add a comment or work note to a ServiceNow task.
@@ -4255,7 +4552,7 @@ EXAMPLES
4255
4552
  $ nex task comment --number CHG0010001 --table change_request --comment "Approved" --auth dev
4256
4553
  ```
4257
4554
 
4258
- _See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/comment.ts)_
4555
+ _See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/task/comment.ts)_
4259
4556
 
4260
4557
  ## `nex task find`
4261
4558
 
@@ -4263,8 +4560,8 @@ Find a ServiceNow task by its number.
4263
4560
 
4264
4561
  ```
4265
4562
  USAGE
4266
- $ nex task find -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
4267
- debug|warn|error|info|trace] [--table <value>]
4563
+ $ nex task find -n <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
4564
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--table <value>]
4268
4565
 
4269
4566
  FLAGS
4270
4567
  -a, --auth=<value> Auth alias to use.
@@ -4274,6 +4571,8 @@ FLAGS
4274
4571
  GLOBAL FLAGS
4275
4572
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4276
4573
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4574
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4575
+ --deny-write Refuse any change to instance data for this invocation.
4277
4576
  --json Format output as json.
4278
4577
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4279
4578
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4281,6 +4580,8 @@ GLOBAL FLAGS
4281
4580
  stderr only.
4282
4581
  --log-level=<option> [default: info] Specify level for logging.
4283
4582
  <options: debug|warn|error|info|trace>
4583
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4584
+ unaffected.
4284
4585
 
4285
4586
  DESCRIPTION
4286
4587
  Find a ServiceNow task by its number.
@@ -4307,7 +4608,7 @@ EXAMPLES
4307
4608
  $ nex task find -n INC0010001 --json --auth dev
4308
4609
  ```
4309
4610
 
4310
- _See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/find.ts)_
4611
+ _See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/task/find.ts)_
4311
4612
 
4312
4613
  ## `nex task resolve`
4313
4614
 
@@ -4315,8 +4616,9 @@ Resolve a ServiceNow incident with resolution notes.
4315
4616
 
4316
4617
  ```
4317
4618
  USAGE
4318
- $ nex task resolve --notes <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>]
4319
- [--log-file] [--log-level debug|warn|error|info|trace] [--close-code <value>]
4619
+ $ nex task resolve --notes <value> -n <value> [--json] [-a <value>] [--cred-store] [--deny-execute]
4620
+ [--deny-write] [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
4621
+ [--close-code <value>]
4320
4622
 
4321
4623
  FLAGS
4322
4624
  -a, --auth=<value> Auth alias to use.
@@ -4327,6 +4629,8 @@ FLAGS
4327
4629
  GLOBAL FLAGS
4328
4630
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4329
4631
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4632
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4633
+ --deny-write Refuse any change to instance data for this invocation.
4330
4634
  --json Format output as json.
4331
4635
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4332
4636
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4334,6 +4638,8 @@ GLOBAL FLAGS
4334
4638
  stderr only.
4335
4639
  --log-level=<option> [default: info] Specify level for logging.
4336
4640
  <options: debug|warn|error|info|trace>
4641
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4642
+ unaffected.
4337
4643
 
4338
4644
  DESCRIPTION
4339
4645
  Resolve a ServiceNow incident with resolution notes.
@@ -4356,7 +4662,7 @@ EXAMPLES
4356
4662
  $ nex task resolve -n INC0010001 --notes "Fixed" --close-code "Solved (Permanently)" --auth dev
4357
4663
  ```
4358
4664
 
4359
- _See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/resolve.ts)_
4665
+ _See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/task/resolve.ts)_
4360
4666
 
4361
4667
  ## `nex update-set`
4362
4668
 
@@ -4364,8 +4670,8 @@ List update sets on a ServiceNow instance.
4364
4670
 
4365
4671
  ```
4366
4672
  USAGE
4367
- $ nex update-set [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
4368
- debug|warn|error|info|trace] [--limit <value>] [-q <value>]
4673
+ $ nex update-set [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
4674
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--limit <value>] [-q <value>]
4369
4675
 
4370
4676
  FLAGS
4371
4677
  -a, --auth=<value> Auth alias to use.
@@ -4375,6 +4681,8 @@ FLAGS
4375
4681
  GLOBAL FLAGS
4376
4682
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4377
4683
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4684
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4685
+ --deny-write Refuse any change to instance data for this invocation.
4378
4686
  --json Format output as json.
4379
4687
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4380
4688
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4382,6 +4690,8 @@ GLOBAL FLAGS
4382
4690
  stderr only.
4383
4691
  --log-level=<option> [default: info] Specify level for logging.
4384
4692
  <options: debug|warn|error|info|trace>
4693
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4694
+ unaffected.
4385
4695
 
4386
4696
  DESCRIPTION
4387
4697
  List update sets on a ServiceNow instance.
@@ -4400,7 +4710,7 @@ EXAMPLES
4400
4710
  $ nex update-set --json --auth dev-instance
4401
4711
  ```
4402
4712
 
4403
- _See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/index.ts)_
4713
+ _See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/update-set/index.ts)_
4404
4714
 
4405
4715
  ## `nex update-set clone`
4406
4716
 
@@ -4408,8 +4718,8 @@ Clone an update set and its records.
4408
4718
 
4409
4719
  ```
4410
4720
  USAGE
4411
- $ nex update-set clone -n <value> -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
4412
- [--log-level debug|warn|error|info|trace]
4721
+ $ nex update-set clone -n <value> -s <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
4722
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
4413
4723
 
4414
4724
  FLAGS
4415
4725
  -a, --auth=<value> Auth alias to use.
@@ -4419,6 +4729,8 @@ FLAGS
4419
4729
  GLOBAL FLAGS
4420
4730
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4421
4731
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4732
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4733
+ --deny-write Refuse any change to instance data for this invocation.
4422
4734
  --json Format output as json.
4423
4735
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4424
4736
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4426,6 +4738,8 @@ GLOBAL FLAGS
4426
4738
  stderr only.
4427
4739
  --log-level=<option> [default: info] Specify level for logging.
4428
4740
  <options: debug|warn|error|info|trace>
4741
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4742
+ unaffected.
4429
4743
 
4430
4744
  DESCRIPTION
4431
4745
  Clone an update set and its records.
@@ -4440,7 +4754,7 @@ EXAMPLES
4440
4754
  $ nex update-set clone --source us-001 --name "Cloned Set" --json --auth dev-instance
4441
4755
  ```
4442
4756
 
4443
- _See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/clone.ts)_
4757
+ _See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/update-set/clone.ts)_
4444
4758
 
4445
4759
  ## `nex update-set create`
4446
4760
 
@@ -4448,8 +4762,8 @@ Create a new update set.
4448
4762
 
4449
4763
  ```
4450
4764
  USAGE
4451
- $ nex update-set create -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
4452
- debug|warn|error|info|trace] [--application <value>] [-d <value>]
4765
+ $ nex update-set create -n <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
4766
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--application <value>] [-d <value>]
4453
4767
 
4454
4768
  FLAGS
4455
4769
  -a, --auth=<value> Auth alias to use.
@@ -4460,6 +4774,8 @@ FLAGS
4460
4774
  GLOBAL FLAGS
4461
4775
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4462
4776
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4777
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4778
+ --deny-write Refuse any change to instance data for this invocation.
4463
4779
  --json Format output as json.
4464
4780
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4465
4781
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4467,6 +4783,8 @@ GLOBAL FLAGS
4467
4783
  stderr only.
4468
4784
  --log-level=<option> [default: info] Specify level for logging.
4469
4785
  <options: debug|warn|error|info|trace>
4786
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4787
+ unaffected.
4470
4788
 
4471
4789
  DESCRIPTION
4472
4790
  Create a new update set.
@@ -4485,7 +4803,7 @@ EXAMPLES
4485
4803
  $ nex update-set create --name "My Feature Set" --application x_my_app --auth dev-instance
4486
4804
  ```
4487
4805
 
4488
- _See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/create.ts)_
4806
+ _See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/update-set/create.ts)_
4489
4807
 
4490
4808
  ## `nex update-set current`
4491
4809
 
@@ -4493,8 +4811,8 @@ Get or set the current update set.
4493
4811
 
4494
4812
  ```
4495
4813
  USAGE
4496
- $ nex update-set current [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
4497
- debug|warn|error|info|trace] [-s <value>]
4814
+ $ nex update-set current [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir <value>]
4815
+ [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-s <value>]
4498
4816
 
4499
4817
  FLAGS
4500
4818
  -a, --auth=<value> Auth alias to use.
@@ -4503,6 +4821,8 @@ FLAGS
4503
4821
  GLOBAL FLAGS
4504
4822
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4505
4823
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4824
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4825
+ --deny-write Refuse any change to instance data for this invocation.
4506
4826
  --json Format output as json.
4507
4827
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4508
4828
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4510,6 +4830,8 @@ GLOBAL FLAGS
4510
4830
  stderr only.
4511
4831
  --log-level=<option> [default: info] Specify level for logging.
4512
4832
  <options: debug|warn|error|info|trace>
4833
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4834
+ unaffected.
4513
4835
 
4514
4836
  DESCRIPTION
4515
4837
  Get or set the current update set.
@@ -4528,7 +4850,7 @@ EXAMPLES
4528
4850
  $ nex update-set current --json --auth dev-instance
4529
4851
  ```
4530
4852
 
4531
- _See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/current.ts)_
4853
+ _See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/update-set/current.ts)_
4532
4854
 
4533
4855
  ## `nex update-set inspect`
4534
4856
 
@@ -4536,8 +4858,8 @@ Inspect the components of an update set.
4536
4858
 
4537
4859
  ```
4538
4860
  USAGE
4539
- $ nex update-set inspect -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
4540
- debug|warn|error|info|trace]
4861
+ $ nex update-set inspect -s <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
4862
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
4541
4863
 
4542
4864
  FLAGS
4543
4865
  -a, --auth=<value> Auth alias to use.
@@ -4546,6 +4868,8 @@ FLAGS
4546
4868
  GLOBAL FLAGS
4547
4869
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4548
4870
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4871
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4872
+ --deny-write Refuse any change to instance data for this invocation.
4549
4873
  --json Format output as json.
4550
4874
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4551
4875
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4553,6 +4877,8 @@ GLOBAL FLAGS
4553
4877
  stderr only.
4554
4878
  --log-level=<option> [default: info] Specify level for logging.
4555
4879
  <options: debug|warn|error|info|trace>
4880
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4881
+ unaffected.
4556
4882
 
4557
4883
  DESCRIPTION
4558
4884
  Inspect the components of an update set.
@@ -4567,7 +4893,7 @@ EXAMPLES
4567
4893
  $ nex update-set inspect --sys-id us-001 --json --auth dev-instance
4568
4894
  ```
4569
4895
 
4570
- _See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/inspect.ts)_
4896
+ _See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/update-set/inspect.ts)_
4571
4897
 
4572
4898
  ## `nex update-set move`
4573
4899
 
@@ -4575,8 +4901,9 @@ Move records between update sets.
4575
4901
 
4576
4902
  ```
4577
4903
  USAGE
4578
- $ nex update-set move --target <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
4579
- [--log-level debug|warn|error|info|trace] [--records <value>] [--source <value>]
4904
+ $ nex update-set move --target <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
4905
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--records <value>]
4906
+ [--source <value>]
4580
4907
 
4581
4908
  FLAGS
4582
4909
  -a, --auth=<value> Auth alias to use.
@@ -4587,6 +4914,8 @@ FLAGS
4587
4914
  GLOBAL FLAGS
4588
4915
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4589
4916
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4917
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4918
+ --deny-write Refuse any change to instance data for this invocation.
4590
4919
  --json Format output as json.
4591
4920
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4592
4921
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4594,6 +4923,8 @@ GLOBAL FLAGS
4594
4923
  stderr only.
4595
4924
  --log-level=<option> [default: info] Specify level for logging.
4596
4925
  <options: debug|warn|error|info|trace>
4926
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4927
+ unaffected.
4597
4928
 
4598
4929
  DESCRIPTION
4599
4930
  Move records between update sets.
@@ -4612,7 +4943,7 @@ EXAMPLES
4612
4943
  $ nex update-set move --target us-002 --source us-001 --json --auth dev-instance
4613
4944
  ```
4614
4945
 
4615
- _See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/move.ts)_
4946
+ _See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/update-set/move.ts)_
4616
4947
 
4617
4948
  ## `nex workflow create`
4618
4949
 
@@ -4620,8 +4951,8 @@ Create a complete workflow from a JSON specification file.
4620
4951
 
4621
4952
  ```
4622
4953
  USAGE
4623
- $ nex workflow create -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
4624
- debug|warn|error|info|trace]
4954
+ $ nex workflow create -s <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
4955
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
4625
4956
 
4626
4957
  FLAGS
4627
4958
  -a, --auth=<value> Auth alias to use.
@@ -4630,6 +4961,8 @@ FLAGS
4630
4961
  GLOBAL FLAGS
4631
4962
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4632
4963
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4964
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
4965
+ --deny-write Refuse any change to instance data for this invocation.
4633
4966
  --json Format output as json.
4634
4967
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4635
4968
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4637,6 +4970,8 @@ GLOBAL FLAGS
4637
4970
  stderr only.
4638
4971
  --log-level=<option> [default: info] Specify level for logging.
4639
4972
  <options: debug|warn|error|info|trace>
4973
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
4974
+ unaffected.
4640
4975
 
4641
4976
  DESCRIPTION
4642
4977
  Create a complete workflow from a JSON specification file.
@@ -4651,7 +4986,7 @@ EXAMPLES
4651
4986
  $ nex workflow create -s ./workflow.json --json --auth dev
4652
4987
  ```
4653
4988
 
4654
- _See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/workflow/create.ts)_
4989
+ _See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/workflow/create.ts)_
4655
4990
 
4656
4991
  ## `nex workflow publish`
4657
4992
 
@@ -4659,8 +4994,8 @@ Publish a workflow version.
4659
4994
 
4660
4995
  ```
4661
4996
  USAGE
4662
- $ nex workflow publish -s <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
4663
- [--log-level debug|warn|error|info|trace]
4997
+ $ nex workflow publish -s <value> -v <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
4998
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
4664
4999
 
4665
5000
  FLAGS
4666
5001
  -a, --auth=<value> Auth alias to use.
@@ -4670,6 +5005,8 @@ FLAGS
4670
5005
  GLOBAL FLAGS
4671
5006
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4672
5007
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
5008
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
5009
+ --deny-write Refuse any change to instance data for this invocation.
4673
5010
  --json Format output as json.
4674
5011
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4675
5012
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
@@ -4677,6 +5014,8 @@ GLOBAL FLAGS
4677
5014
  stderr only.
4678
5015
  --log-level=<option> [default: info] Specify level for logging.
4679
5016
  <options: debug|warn|error|info|trace>
5017
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
5018
+ unaffected.
4680
5019
 
4681
5020
  DESCRIPTION
4682
5021
  Publish a workflow version.
@@ -4691,7 +5030,7 @@ EXAMPLES
4691
5030
  $ nex workflow publish -v wfv-001 -s act-001 --json --auth dev
4692
5031
  ```
4693
5032
 
4694
- _See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/workflow/publish.ts)_
5033
+ _See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/workflow/publish.ts)_
4695
5034
 
4696
5035
  ## `nex xml export`
4697
5036
 
@@ -4699,8 +5038,8 @@ Export a single ServiceNow record as XML.
4699
5038
 
4700
5039
  ```
4701
5040
  USAGE
4702
- $ nex xml export -t <value> -s <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
4703
- [--log-level debug|warn|error|info|trace] [-o <value>]
5041
+ $ nex xml export -t <value> -s <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
5042
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-o <value>]
4704
5043
 
4705
5044
  FLAGS
4706
5045
  -a, --auth=<value> Auth alias to use.
@@ -4712,12 +5051,16 @@ FLAGS
4712
5051
  GLOBAL FLAGS
4713
5052
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4714
5053
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
5054
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
5055
+ --deny-write Refuse any change to instance data for this invocation.
4715
5056
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4716
5057
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
4717
5058
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
4718
5059
  stderr only.
4719
5060
  --log-level=<option> [default: info] Specify level for logging.
4720
5061
  <options: debug|warn|error|info|trace>
5062
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
5063
+ unaffected.
4721
5064
 
4722
5065
  DESCRIPTION
4723
5066
  Export a single ServiceNow record as XML.
@@ -4745,7 +5088,7 @@ EXAMPLES
4745
5088
  $ nex xml export --table sys_script --sys-id abc123 --json --auth dev
4746
5089
  ```
4747
5090
 
4748
- _See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/xml/export.ts)_
5091
+ _See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/xml/export.ts)_
4749
5092
 
4750
5093
  ## `nex xml import`
4751
5094
 
@@ -4753,8 +5096,8 @@ Import XML records into a ServiceNow instance.
4753
5096
 
4754
5097
  ```
4755
5098
  USAGE
4756
- $ nex xml import -f <value> -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
4757
- [--log-level debug|warn|error|info|trace]
5099
+ $ nex xml import -f <value> -t <value> [-j] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
5100
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only]
4758
5101
 
4759
5102
  FLAGS
4760
5103
  -a, --auth=<value> Auth alias to use.
@@ -4765,12 +5108,16 @@ FLAGS
4765
5108
  GLOBAL FLAGS
4766
5109
  --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4767
5110
  sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
5111
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
5112
+ --deny-write Refuse any change to instance data for this invocation.
4768
5113
  --log-dir=<value> Directory to write log files to. Implies --log-file.
4769
5114
  --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
4770
5115
  (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
4771
5116
  stderr only.
4772
5117
  --log-level=<option> [default: info] Specify level for logging.
4773
5118
  <options: debug|warn|error|info|trace>
5119
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
5120
+ unaffected.
4774
5121
 
4775
5122
  DESCRIPTION
4776
5123
  Import XML records into a ServiceNow instance.
@@ -4793,7 +5140,7 @@ EXAMPLES
4793
5140
  $ nex xml import --file ./records.xml --table incident --json --auth dev
4794
5141
  ```
4795
5142
 
4796
- _See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/xml/import.ts)_
5143
+ _See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.2.0/src/commands/xml/import.ts)_
4797
5144
  <!-- commandsstop -->
4798
5145
 
4799
5146
  ---