@nail00749/agent-gvozd 0.1.3 → 0.1.5

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.
@@ -32,893 +32,868 @@
32
32
  },
33
33
  {
34
34
  "action": "shell",
35
- "resource": "git status",
36
- "effect": "allow"
35
+ "resource": "git add",
36
+ "effect": "ask"
37
37
  },
38
38
  {
39
39
  "action": "shell",
40
- "resource": "git status *",
41
- "effect": "allow"
40
+ "resource": "git add *",
41
+ "effect": "ask"
42
42
  },
43
43
  {
44
44
  "action": "shell",
45
- "resource": "git status --short",
46
- "effect": "allow"
45
+ "resource": "git rm --cached",
46
+ "effect": "ask"
47
47
  },
48
48
  {
49
49
  "action": "shell",
50
- "resource": "git status --short *",
51
- "effect": "allow"
50
+ "resource": "git rm --cached *",
51
+ "effect": "ask"
52
52
  },
53
53
  {
54
54
  "action": "shell",
55
- "resource": "git status --short --branch",
56
- "effect": "allow"
55
+ "resource": "git commit",
56
+ "effect": "ask"
57
57
  },
58
58
  {
59
59
  "action": "shell",
60
- "resource": "git status --short --branch *",
61
- "effect": "allow"
60
+ "resource": "git commit *",
61
+ "effect": "ask"
62
62
  },
63
63
  {
64
64
  "action": "shell",
65
- "resource": "git status --porcelain",
66
- "effect": "allow"
65
+ "resource": "git merge --ff-only",
66
+ "effect": "ask"
67
67
  },
68
68
  {
69
69
  "action": "shell",
70
- "resource": "git status --porcelain *",
71
- "effect": "allow"
70
+ "resource": "git merge --ff-only *",
71
+ "effect": "ask"
72
72
  },
73
73
  {
74
74
  "action": "shell",
75
- "resource": "git status --porcelain=v1 --branch",
76
- "effect": "allow"
75
+ "resource": "git merge --no-ff",
76
+ "effect": "ask"
77
77
  },
78
78
  {
79
79
  "action": "shell",
80
- "resource": "git status --porcelain=v1 --branch *",
81
- "effect": "allow"
80
+ "resource": "git merge --no-ff *",
81
+ "effect": "ask"
82
82
  },
83
83
  {
84
84
  "action": "shell",
85
- "resource": "git diff",
86
- "effect": "allow"
85
+ "resource": "git push",
86
+ "effect": "ask"
87
87
  },
88
88
  {
89
89
  "action": "shell",
90
- "resource": "git diff *",
91
- "effect": "allow"
90
+ "resource": "git push *",
91
+ "effect": "ask"
92
92
  },
93
93
  {
94
94
  "action": "shell",
95
- "resource": "git diff --stat",
96
- "effect": "allow"
95
+ "resource": "git fetch",
96
+ "effect": "ask"
97
97
  },
98
98
  {
99
99
  "action": "shell",
100
- "resource": "git diff --stat *",
101
- "effect": "allow"
100
+ "resource": "git fetch *",
101
+ "effect": "ask"
102
102
  },
103
103
  {
104
104
  "action": "shell",
105
- "resource": "git diff --cached",
106
- "effect": "allow"
105
+ "resource": "git pull --ff-only",
106
+ "effect": "ask"
107
107
  },
108
108
  {
109
109
  "action": "shell",
110
- "resource": "git diff --cached *",
111
- "effect": "allow"
110
+ "resource": "git pull --ff-only *",
111
+ "effect": "ask"
112
112
  },
113
113
  {
114
114
  "action": "shell",
115
- "resource": "git diff --check",
116
- "effect": "allow"
115
+ "resource": "git stash",
116
+ "effect": "ask"
117
117
  },
118
118
  {
119
119
  "action": "shell",
120
- "resource": "git diff --check *",
121
- "effect": "allow"
120
+ "resource": "git stash *",
121
+ "effect": "ask"
122
122
  },
123
123
  {
124
124
  "action": "shell",
125
- "resource": "git log",
126
- "effect": "allow"
125
+ "resource": "git cherry-pick",
126
+ "effect": "ask"
127
127
  },
128
128
  {
129
129
  "action": "shell",
130
- "resource": "git log *",
131
- "effect": "allow"
130
+ "resource": "git cherry-pick *",
131
+ "effect": "ask"
132
132
  },
133
133
  {
134
134
  "action": "shell",
135
- "resource": "git show",
136
- "effect": "allow"
135
+ "resource": "git revert",
136
+ "effect": "ask"
137
137
  },
138
138
  {
139
139
  "action": "shell",
140
- "resource": "git show *",
141
- "effect": "allow"
140
+ "resource": "git revert *",
141
+ "effect": "ask"
142
142
  },
143
143
  {
144
144
  "action": "shell",
145
- "resource": "git reflog",
146
- "effect": "allow"
145
+ "resource": "git switch",
146
+ "effect": "ask"
147
147
  },
148
148
  {
149
149
  "action": "shell",
150
- "resource": "git reflog *",
151
- "effect": "allow"
150
+ "resource": "git switch *",
151
+ "effect": "ask"
152
152
  },
153
153
  {
154
154
  "action": "shell",
155
- "resource": "git rev-parse",
156
- "effect": "allow"
155
+ "resource": "git checkout -b",
156
+ "effect": "ask"
157
157
  },
158
158
  {
159
159
  "action": "shell",
160
- "resource": "git rev-parse *",
161
- "effect": "allow"
160
+ "resource": "git checkout -b *",
161
+ "effect": "ask"
162
162
  },
163
163
  {
164
164
  "action": "shell",
165
- "resource": "git rev-list",
166
- "effect": "allow"
165
+ "resource": "git worktree add",
166
+ "effect": "ask"
167
167
  },
168
168
  {
169
169
  "action": "shell",
170
- "resource": "git rev-list *",
171
- "effect": "allow"
170
+ "resource": "git worktree add *",
171
+ "effect": "ask"
172
172
  },
173
173
  {
174
174
  "action": "shell",
175
- "resource": "git show-ref",
176
- "effect": "allow"
175
+ "resource": "git branch *",
176
+ "effect": "ask"
177
177
  },
178
178
  {
179
179
  "action": "shell",
180
- "resource": "git show-ref *",
181
- "effect": "allow"
180
+ "resource": "git tag *",
181
+ "effect": "ask"
182
182
  },
183
183
  {
184
184
  "action": "shell",
185
- "resource": "git cat-file",
186
- "effect": "allow"
185
+ "resource": "git remote *",
186
+ "effect": "ask"
187
187
  },
188
188
  {
189
189
  "action": "shell",
190
- "resource": "git cat-file *",
191
- "effect": "allow"
190
+ "resource": "git symbolic-ref *",
191
+ "effect": "ask"
192
192
  },
193
193
  {
194
194
  "action": "shell",
195
- "resource": "git symbolic-ref",
196
- "effect": "allow"
195
+ "resource": "git reflog *",
196
+ "effect": "ask"
197
197
  },
198
198
  {
199
199
  "action": "shell",
200
- "resource": "git symbolic-ref *",
200
+ "resource": "pwd",
201
201
  "effect": "allow"
202
202
  },
203
203
  {
204
204
  "action": "shell",
205
- "resource": "git ls-files",
205
+ "resource": "pwd *",
206
206
  "effect": "allow"
207
207
  },
208
208
  {
209
209
  "action": "shell",
210
- "resource": "git ls-files *",
210
+ "resource": "true",
211
211
  "effect": "allow"
212
212
  },
213
213
  {
214
214
  "action": "shell",
215
- "resource": "git ls-remote",
215
+ "resource": "true *",
216
216
  "effect": "allow"
217
217
  },
218
218
  {
219
219
  "action": "shell",
220
- "resource": "git ls-remote *",
220
+ "resource": "ls",
221
221
  "effect": "allow"
222
222
  },
223
223
  {
224
224
  "action": "shell",
225
- "resource": "git grep",
225
+ "resource": "ls *",
226
226
  "effect": "allow"
227
227
  },
228
228
  {
229
229
  "action": "shell",
230
- "resource": "git grep *",
230
+ "resource": "du",
231
231
  "effect": "allow"
232
232
  },
233
233
  {
234
234
  "action": "shell",
235
- "resource": "git branch",
235
+ "resource": "du *",
236
236
  "effect": "allow"
237
237
  },
238
238
  {
239
239
  "action": "shell",
240
- "resource": "git branch *",
240
+ "resource": "stat",
241
241
  "effect": "allow"
242
242
  },
243
243
  {
244
244
  "action": "shell",
245
- "resource": "git remote",
245
+ "resource": "stat *",
246
246
  "effect": "allow"
247
247
  },
248
248
  {
249
249
  "action": "shell",
250
- "resource": "git remote *",
250
+ "resource": "realpath",
251
251
  "effect": "allow"
252
252
  },
253
253
  {
254
254
  "action": "shell",
255
- "resource": "git stash list",
255
+ "resource": "realpath *",
256
256
  "effect": "allow"
257
257
  },
258
258
  {
259
259
  "action": "shell",
260
- "resource": "git stash list *",
260
+ "resource": "uname",
261
261
  "effect": "allow"
262
262
  },
263
263
  {
264
264
  "action": "shell",
265
- "resource": "git tag",
265
+ "resource": "uname *",
266
266
  "effect": "allow"
267
267
  },
268
268
  {
269
269
  "action": "shell",
270
- "resource": "git tag *",
270
+ "resource": "whoami",
271
271
  "effect": "allow"
272
272
  },
273
273
  {
274
274
  "action": "shell",
275
- "resource": "git describe",
275
+ "resource": "whoami *",
276
276
  "effect": "allow"
277
277
  },
278
278
  {
279
279
  "action": "shell",
280
- "resource": "git describe *",
280
+ "resource": "cat",
281
281
  "effect": "allow"
282
282
  },
283
283
  {
284
284
  "action": "shell",
285
- "resource": "git config --get",
285
+ "resource": "cat *",
286
286
  "effect": "allow"
287
287
  },
288
288
  {
289
289
  "action": "shell",
290
- "resource": "git config --get *",
290
+ "resource": "head",
291
291
  "effect": "allow"
292
292
  },
293
293
  {
294
294
  "action": "shell",
295
- "resource": "git config --get-regexp",
295
+ "resource": "head *",
296
296
  "effect": "allow"
297
297
  },
298
298
  {
299
299
  "action": "shell",
300
- "resource": "git config --get-regexp *",
300
+ "resource": "tail",
301
301
  "effect": "allow"
302
302
  },
303
303
  {
304
304
  "action": "shell",
305
- "resource": "git -C",
305
+ "resource": "tail *",
306
306
  "effect": "allow"
307
307
  },
308
308
  {
309
309
  "action": "shell",
310
- "resource": "git -C *",
310
+ "resource": "wc",
311
311
  "effect": "allow"
312
312
  },
313
313
  {
314
314
  "action": "shell",
315
- "resource": "pwd",
315
+ "resource": "wc *",
316
316
  "effect": "allow"
317
317
  },
318
318
  {
319
319
  "action": "shell",
320
- "resource": "pwd *",
320
+ "resource": "sort",
321
321
  "effect": "allow"
322
322
  },
323
323
  {
324
324
  "action": "shell",
325
- "resource": "true",
325
+ "resource": "sort *",
326
326
  "effect": "allow"
327
327
  },
328
328
  {
329
329
  "action": "shell",
330
- "resource": "true *",
330
+ "resource": "grep",
331
331
  "effect": "allow"
332
332
  },
333
333
  {
334
334
  "action": "shell",
335
- "resource": "ls",
335
+ "resource": "grep *",
336
336
  "effect": "allow"
337
337
  },
338
338
  {
339
339
  "action": "shell",
340
- "resource": "ls *",
340
+ "resource": "rg",
341
341
  "effect": "allow"
342
342
  },
343
343
  {
344
344
  "action": "shell",
345
- "resource": "du",
345
+ "resource": "rg *",
346
346
  "effect": "allow"
347
347
  },
348
348
  {
349
349
  "action": "shell",
350
- "resource": "du *",
350
+ "resource": "find",
351
351
  "effect": "allow"
352
352
  },
353
353
  {
354
354
  "action": "shell",
355
- "resource": "stat",
355
+ "resource": "find *",
356
356
  "effect": "allow"
357
357
  },
358
358
  {
359
359
  "action": "shell",
360
- "resource": "stat *",
360
+ "resource": "diff",
361
361
  "effect": "allow"
362
362
  },
363
363
  {
364
364
  "action": "shell",
365
- "resource": "realpath",
365
+ "resource": "diff *",
366
366
  "effect": "allow"
367
367
  },
368
368
  {
369
369
  "action": "shell",
370
- "resource": "realpath *",
370
+ "resource": "cmp",
371
371
  "effect": "allow"
372
372
  },
373
373
  {
374
374
  "action": "shell",
375
- "resource": "uname",
375
+ "resource": "cmp *",
376
376
  "effect": "allow"
377
377
  },
378
378
  {
379
379
  "action": "shell",
380
- "resource": "uname *",
380
+ "resource": "shasum",
381
381
  "effect": "allow"
382
382
  },
383
383
  {
384
384
  "action": "shell",
385
- "resource": "whoami",
385
+ "resource": "shasum *",
386
386
  "effect": "allow"
387
387
  },
388
388
  {
389
389
  "action": "shell",
390
- "resource": "whoami *",
390
+ "resource": "md5sum",
391
391
  "effect": "allow"
392
392
  },
393
393
  {
394
394
  "action": "shell",
395
- "resource": "cat",
395
+ "resource": "md5sum *",
396
396
  "effect": "allow"
397
397
  },
398
398
  {
399
399
  "action": "shell",
400
- "resource": "cat *",
400
+ "resource": "git status",
401
401
  "effect": "allow"
402
402
  },
403
403
  {
404
404
  "action": "shell",
405
- "resource": "head",
405
+ "resource": "git status *",
406
406
  "effect": "allow"
407
407
  },
408
408
  {
409
409
  "action": "shell",
410
- "resource": "head *",
410
+ "resource": "git status --short",
411
411
  "effect": "allow"
412
412
  },
413
413
  {
414
414
  "action": "shell",
415
- "resource": "tail",
415
+ "resource": "git status --short *",
416
416
  "effect": "allow"
417
417
  },
418
418
  {
419
419
  "action": "shell",
420
- "resource": "tail *",
420
+ "resource": "git status --short --branch",
421
421
  "effect": "allow"
422
422
  },
423
423
  {
424
424
  "action": "shell",
425
- "resource": "wc",
425
+ "resource": "git status --short --branch *",
426
426
  "effect": "allow"
427
427
  },
428
428
  {
429
429
  "action": "shell",
430
- "resource": "wc *",
430
+ "resource": "git status --porcelain",
431
431
  "effect": "allow"
432
432
  },
433
433
  {
434
434
  "action": "shell",
435
- "resource": "sort",
435
+ "resource": "git status --porcelain *",
436
436
  "effect": "allow"
437
437
  },
438
438
  {
439
439
  "action": "shell",
440
- "resource": "sort *",
440
+ "resource": "git status --porcelain=v1 --branch",
441
441
  "effect": "allow"
442
442
  },
443
443
  {
444
444
  "action": "shell",
445
- "resource": "grep",
445
+ "resource": "git status --porcelain=v1 --branch *",
446
446
  "effect": "allow"
447
447
  },
448
448
  {
449
449
  "action": "shell",
450
- "resource": "grep *",
450
+ "resource": "git diff",
451
451
  "effect": "allow"
452
452
  },
453
453
  {
454
454
  "action": "shell",
455
- "resource": "rg",
455
+ "resource": "git diff *",
456
456
  "effect": "allow"
457
457
  },
458
458
  {
459
459
  "action": "shell",
460
- "resource": "rg *",
460
+ "resource": "git diff --stat",
461
461
  "effect": "allow"
462
462
  },
463
463
  {
464
464
  "action": "shell",
465
- "resource": "find",
465
+ "resource": "git diff --stat *",
466
466
  "effect": "allow"
467
467
  },
468
468
  {
469
469
  "action": "shell",
470
- "resource": "find *",
470
+ "resource": "git diff --cached",
471
471
  "effect": "allow"
472
472
  },
473
473
  {
474
474
  "action": "shell",
475
- "resource": "diff",
475
+ "resource": "git diff --cached *",
476
476
  "effect": "allow"
477
477
  },
478
478
  {
479
479
  "action": "shell",
480
- "resource": "diff *",
480
+ "resource": "git diff --check",
481
481
  "effect": "allow"
482
482
  },
483
483
  {
484
484
  "action": "shell",
485
- "resource": "cmp",
485
+ "resource": "git diff --check *",
486
486
  "effect": "allow"
487
487
  },
488
488
  {
489
489
  "action": "shell",
490
- "resource": "cmp *",
490
+ "resource": "git log",
491
491
  "effect": "allow"
492
492
  },
493
493
  {
494
494
  "action": "shell",
495
- "resource": "shasum",
495
+ "resource": "git log *",
496
496
  "effect": "allow"
497
497
  },
498
498
  {
499
499
  "action": "shell",
500
- "resource": "shasum *",
500
+ "resource": "git show",
501
501
  "effect": "allow"
502
502
  },
503
503
  {
504
504
  "action": "shell",
505
- "resource": "md5sum",
505
+ "resource": "git show *",
506
506
  "effect": "allow"
507
507
  },
508
508
  {
509
509
  "action": "shell",
510
- "resource": "md5sum *",
510
+ "resource": "git rev-parse",
511
511
  "effect": "allow"
512
512
  },
513
513
  {
514
514
  "action": "shell",
515
- "resource": "m",
515
+ "resource": "git rev-parse *",
516
516
  "effect": "allow"
517
517
  },
518
518
  {
519
519
  "action": "shell",
520
- "resource": "m *",
520
+ "resource": "git rev-list",
521
521
  "effect": "allow"
522
522
  },
523
523
  {
524
524
  "action": "shell",
525
- "resource": "k",
525
+ "resource": "git rev-list *",
526
526
  "effect": "allow"
527
527
  },
528
528
  {
529
529
  "action": "shell",
530
- "resource": "k *",
530
+ "resource": "git show-ref",
531
531
  "effect": "allow"
532
532
  },
533
533
  {
534
534
  "action": "shell",
535
- "resource": "t",
535
+ "resource": "git show-ref *",
536
536
  "effect": "allow"
537
537
  },
538
538
  {
539
539
  "action": "shell",
540
- "resource": "t *",
540
+ "resource": "git cat-file",
541
541
  "effect": "allow"
542
542
  },
543
543
  {
544
544
  "action": "shell",
545
- "resource": "e",
545
+ "resource": "git cat-file *",
546
546
  "effect": "allow"
547
547
  },
548
548
  {
549
549
  "action": "shell",
550
- "resource": "e *",
550
+ "resource": "git symbolic-ref HEAD",
551
551
  "effect": "allow"
552
552
  },
553
553
  {
554
554
  "action": "shell",
555
- "resource": "p",
555
+ "resource": "git symbolic-ref --short HEAD",
556
556
  "effect": "allow"
557
557
  },
558
558
  {
559
559
  "action": "shell",
560
- "resource": "p *",
560
+ "resource": "git ls-files",
561
561
  "effect": "allow"
562
562
  },
563
563
  {
564
564
  "action": "shell",
565
- "resource": "git add",
566
- "effect": "ask"
567
- },
568
- {
569
- "action": "shell",
570
- "resource": "git add *",
571
- "effect": "ask"
572
- },
573
- {
574
- "action": "shell",
575
- "resource": "GIT_OPTIONAL_LOCKS=0 git add",
576
- "effect": "ask"
577
- },
578
- {
579
- "action": "shell",
580
- "resource": "GIT_OPTIONAL_LOCKS=0 git add *",
581
- "effect": "ask"
582
- },
583
- {
584
- "action": "shell",
585
- "resource": "git rm --cached",
586
- "effect": "ask"
587
- },
588
- {
589
- "action": "shell",
590
- "resource": "git rm --cached *",
591
- "effect": "ask"
565
+ "resource": "git ls-files *",
566
+ "effect": "allow"
592
567
  },
593
568
  {
594
569
  "action": "shell",
595
- "resource": "GIT_OPTIONAL_LOCKS=0 git rm --cached",
596
- "effect": "ask"
570
+ "resource": "git ls-remote",
571
+ "effect": "allow"
597
572
  },
598
573
  {
599
574
  "action": "shell",
600
- "resource": "GIT_OPTIONAL_LOCKS=0 git rm --cached *",
601
- "effect": "ask"
575
+ "resource": "git ls-remote *",
576
+ "effect": "allow"
602
577
  },
603
578
  {
604
579
  "action": "shell",
605
- "resource": "git commit",
606
- "effect": "ask"
580
+ "resource": "git grep",
581
+ "effect": "allow"
607
582
  },
608
583
  {
609
584
  "action": "shell",
610
- "resource": "git commit *",
611
- "effect": "ask"
585
+ "resource": "git grep *",
586
+ "effect": "allow"
612
587
  },
613
588
  {
614
589
  "action": "shell",
615
- "resource": "GIT_OPTIONAL_LOCKS=0 git commit",
616
- "effect": "ask"
590
+ "resource": "git branch",
591
+ "effect": "allow"
617
592
  },
618
593
  {
619
594
  "action": "shell",
620
- "resource": "GIT_OPTIONAL_LOCKS=0 git commit *",
621
- "effect": "ask"
595
+ "resource": "git tag",
596
+ "effect": "allow"
622
597
  },
623
598
  {
624
599
  "action": "shell",
625
- "resource": "git merge --ff-only",
626
- "effect": "ask"
600
+ "resource": "git remote",
601
+ "effect": "allow"
627
602
  },
628
603
  {
629
604
  "action": "shell",
630
- "resource": "git merge --ff-only *",
631
- "effect": "ask"
605
+ "resource": "git reflog",
606
+ "effect": "allow"
632
607
  },
633
608
  {
634
609
  "action": "shell",
635
- "resource": "GIT_OPTIONAL_LOCKS=0 git merge --ff-only",
636
- "effect": "ask"
610
+ "resource": "git branch --list",
611
+ "effect": "allow"
637
612
  },
638
613
  {
639
614
  "action": "shell",
640
- "resource": "GIT_OPTIONAL_LOCKS=0 git merge --ff-only *",
641
- "effect": "ask"
615
+ "resource": "git branch --list *",
616
+ "effect": "allow"
642
617
  },
643
618
  {
644
619
  "action": "shell",
645
- "resource": "git merge --no-ff",
646
- "effect": "ask"
620
+ "resource": "git branch -l",
621
+ "effect": "allow"
647
622
  },
648
623
  {
649
624
  "action": "shell",
650
- "resource": "git merge --no-ff *",
651
- "effect": "ask"
625
+ "resource": "git branch -l *",
626
+ "effect": "allow"
652
627
  },
653
628
  {
654
629
  "action": "shell",
655
- "resource": "GIT_OPTIONAL_LOCKS=0 git merge --no-ff",
656
- "effect": "ask"
630
+ "resource": "git branch -a",
631
+ "effect": "allow"
657
632
  },
658
633
  {
659
634
  "action": "shell",
660
- "resource": "GIT_OPTIONAL_LOCKS=0 git merge --no-ff *",
661
- "effect": "ask"
635
+ "resource": "git branch -a *",
636
+ "effect": "allow"
662
637
  },
663
638
  {
664
639
  "action": "shell",
665
- "resource": "git push",
666
- "effect": "ask"
640
+ "resource": "git branch -r",
641
+ "effect": "allow"
667
642
  },
668
643
  {
669
644
  "action": "shell",
670
- "resource": "git push *",
671
- "effect": "ask"
645
+ "resource": "git branch -r *",
646
+ "effect": "allow"
672
647
  },
673
648
  {
674
649
  "action": "shell",
675
- "resource": "GIT_OPTIONAL_LOCKS=0 git push",
676
- "effect": "ask"
650
+ "resource": "git branch -v",
651
+ "effect": "allow"
677
652
  },
678
653
  {
679
654
  "action": "shell",
680
- "resource": "GIT_OPTIONAL_LOCKS=0 git push *",
681
- "effect": "ask"
655
+ "resource": "git branch -v *",
656
+ "effect": "allow"
682
657
  },
683
658
  {
684
659
  "action": "shell",
685
- "resource": "git fetch",
686
- "effect": "ask"
660
+ "resource": "git branch -vv",
661
+ "effect": "allow"
687
662
  },
688
663
  {
689
664
  "action": "shell",
690
- "resource": "git fetch *",
691
- "effect": "ask"
665
+ "resource": "git branch -vv *",
666
+ "effect": "allow"
692
667
  },
693
668
  {
694
669
  "action": "shell",
695
- "resource": "GIT_OPTIONAL_LOCKS=0 git fetch",
696
- "effect": "ask"
670
+ "resource": "git branch --all",
671
+ "effect": "allow"
697
672
  },
698
673
  {
699
674
  "action": "shell",
700
- "resource": "GIT_OPTIONAL_LOCKS=0 git fetch *",
701
- "effect": "ask"
675
+ "resource": "git branch --all *",
676
+ "effect": "allow"
702
677
  },
703
678
  {
704
679
  "action": "shell",
705
- "resource": "git pull --ff-only",
706
- "effect": "ask"
680
+ "resource": "git branch --remotes",
681
+ "effect": "allow"
707
682
  },
708
683
  {
709
684
  "action": "shell",
710
- "resource": "git pull --ff-only *",
711
- "effect": "ask"
685
+ "resource": "git branch --remotes *",
686
+ "effect": "allow"
712
687
  },
713
688
  {
714
689
  "action": "shell",
715
- "resource": "GIT_OPTIONAL_LOCKS=0 git pull --ff-only",
716
- "effect": "ask"
690
+ "resource": "git branch --show-current",
691
+ "effect": "allow"
717
692
  },
718
693
  {
719
694
  "action": "shell",
720
- "resource": "GIT_OPTIONAL_LOCKS=0 git pull --ff-only *",
721
- "effect": "ask"
695
+ "resource": "git branch --show-current *",
696
+ "effect": "allow"
722
697
  },
723
698
  {
724
699
  "action": "shell",
725
- "resource": "git tag -a",
726
- "effect": "ask"
700
+ "resource": "git branch --contains",
701
+ "effect": "allow"
727
702
  },
728
703
  {
729
704
  "action": "shell",
730
- "resource": "git tag -a *",
731
- "effect": "ask"
705
+ "resource": "git branch --contains *",
706
+ "effect": "allow"
732
707
  },
733
708
  {
734
709
  "action": "shell",
735
- "resource": "GIT_OPTIONAL_LOCKS=0 git tag -a",
736
- "effect": "ask"
710
+ "resource": "git tag --list",
711
+ "effect": "allow"
737
712
  },
738
713
  {
739
714
  "action": "shell",
740
- "resource": "GIT_OPTIONAL_LOCKS=0 git tag -a *",
741
- "effect": "ask"
715
+ "resource": "git tag --list *",
716
+ "effect": "allow"
742
717
  },
743
718
  {
744
719
  "action": "shell",
745
- "resource": "git tag -v",
746
- "effect": "ask"
720
+ "resource": "git tag -l",
721
+ "effect": "allow"
747
722
  },
748
723
  {
749
724
  "action": "shell",
750
- "resource": "git tag -v *",
751
- "effect": "ask"
725
+ "resource": "git tag -l *",
726
+ "effect": "allow"
752
727
  },
753
728
  {
754
729
  "action": "shell",
755
- "resource": "GIT_OPTIONAL_LOCKS=0 git tag -v",
756
- "effect": "ask"
730
+ "resource": "git tag -n",
731
+ "effect": "allow"
757
732
  },
758
733
  {
759
734
  "action": "shell",
760
- "resource": "GIT_OPTIONAL_LOCKS=0 git tag -v *",
761
- "effect": "ask"
735
+ "resource": "git tag -n *",
736
+ "effect": "allow"
762
737
  },
763
738
  {
764
739
  "action": "shell",
765
- "resource": "git tag --list",
766
- "effect": "ask"
740
+ "resource": "git remote -v",
741
+ "effect": "allow"
767
742
  },
768
743
  {
769
744
  "action": "shell",
770
- "resource": "git tag --list *",
771
- "effect": "ask"
745
+ "resource": "git remote -v *",
746
+ "effect": "allow"
772
747
  },
773
748
  {
774
749
  "action": "shell",
775
- "resource": "GIT_OPTIONAL_LOCKS=0 git tag --list",
776
- "effect": "ask"
750
+ "resource": "git remote --verbose",
751
+ "effect": "allow"
777
752
  },
778
753
  {
779
754
  "action": "shell",
780
- "resource": "GIT_OPTIONAL_LOCKS=0 git tag --list *",
781
- "effect": "ask"
755
+ "resource": "git remote --verbose *",
756
+ "effect": "allow"
782
757
  },
783
758
  {
784
759
  "action": "shell",
785
- "resource": "git stash",
786
- "effect": "ask"
760
+ "resource": "git remote show",
761
+ "effect": "allow"
787
762
  },
788
763
  {
789
764
  "action": "shell",
790
- "resource": "git stash *",
791
- "effect": "ask"
765
+ "resource": "git remote show *",
766
+ "effect": "allow"
792
767
  },
793
768
  {
794
769
  "action": "shell",
795
- "resource": "GIT_OPTIONAL_LOCKS=0 git stash",
796
- "effect": "ask"
770
+ "resource": "git remote get-url",
771
+ "effect": "allow"
797
772
  },
798
773
  {
799
774
  "action": "shell",
800
- "resource": "GIT_OPTIONAL_LOCKS=0 git stash *",
801
- "effect": "ask"
775
+ "resource": "git remote get-url *",
776
+ "effect": "allow"
802
777
  },
803
778
  {
804
779
  "action": "shell",
805
- "resource": "git cherry-pick",
806
- "effect": "ask"
780
+ "resource": "git reflog show",
781
+ "effect": "allow"
807
782
  },
808
783
  {
809
784
  "action": "shell",
810
- "resource": "git cherry-pick *",
811
- "effect": "ask"
785
+ "resource": "git reflog show *",
786
+ "effect": "allow"
812
787
  },
813
788
  {
814
789
  "action": "shell",
815
- "resource": "GIT_OPTIONAL_LOCKS=0 git cherry-pick",
816
- "effect": "ask"
790
+ "resource": "git stash list",
791
+ "effect": "allow"
817
792
  },
818
793
  {
819
794
  "action": "shell",
820
- "resource": "GIT_OPTIONAL_LOCKS=0 git cherry-pick *",
821
- "effect": "ask"
795
+ "resource": "git stash list *",
796
+ "effect": "allow"
822
797
  },
823
798
  {
824
799
  "action": "shell",
825
- "resource": "git revert",
826
- "effect": "ask"
800
+ "resource": "git describe",
801
+ "effect": "allow"
827
802
  },
828
803
  {
829
804
  "action": "shell",
830
- "resource": "git revert *",
831
- "effect": "ask"
805
+ "resource": "git describe *",
806
+ "effect": "allow"
832
807
  },
833
808
  {
834
809
  "action": "shell",
835
- "resource": "GIT_OPTIONAL_LOCKS=0 git revert",
836
- "effect": "ask"
810
+ "resource": "git worktree list",
811
+ "effect": "allow"
837
812
  },
838
813
  {
839
814
  "action": "shell",
840
- "resource": "GIT_OPTIONAL_LOCKS=0 git revert *",
841
- "effect": "ask"
815
+ "resource": "git worktree list *",
816
+ "effect": "allow"
842
817
  },
843
818
  {
844
819
  "action": "shell",
845
- "resource": "git switch",
846
- "effect": "ask"
820
+ "resource": "git config --get",
821
+ "effect": "allow"
847
822
  },
848
823
  {
849
824
  "action": "shell",
850
- "resource": "git switch *",
851
- "effect": "ask"
825
+ "resource": "git config --get *",
826
+ "effect": "allow"
852
827
  },
853
828
  {
854
829
  "action": "shell",
855
- "resource": "GIT_OPTIONAL_LOCKS=0 git switch",
856
- "effect": "ask"
830
+ "resource": "git config --get-regexp",
831
+ "effect": "allow"
857
832
  },
858
833
  {
859
834
  "action": "shell",
860
- "resource": "GIT_OPTIONAL_LOCKS=0 git switch *",
861
- "effect": "ask"
835
+ "resource": "git config --get-regexp *",
836
+ "effect": "allow"
862
837
  },
863
838
  {
864
- "action": "shell",
865
- "resource": "git checkout -b",
839
+ "action": "gitlab_*",
840
+ "resource": "*",
866
841
  "effect": "ask"
867
842
  },
868
843
  {
869
- "action": "shell",
870
- "resource": "git checkout -b *",
871
- "effect": "ask"
844
+ "action": "gitlab_get_*",
845
+ "resource": "*",
846
+ "effect": "allow"
872
847
  },
873
848
  {
874
- "action": "shell",
875
- "resource": "GIT_OPTIONAL_LOCKS=0 git checkout -b",
876
- "effect": "ask"
849
+ "action": "gitlab_list_*",
850
+ "resource": "*",
851
+ "effect": "allow"
877
852
  },
878
853
  {
879
- "action": "shell",
880
- "resource": "GIT_OPTIONAL_LOCKS=0 git checkout -b *",
881
- "effect": "ask"
854
+ "action": "gitlab_search_*",
855
+ "resource": "*",
856
+ "effect": "allow"
882
857
  },
883
858
  {
884
- "action": "shell",
885
- "resource": "git worktree list",
886
- "effect": "ask"
859
+ "action": "gitlab_my_issues",
860
+ "resource": "*",
861
+ "effect": "allow"
887
862
  },
888
863
  {
889
- "action": "shell",
890
- "resource": "git worktree list *",
891
- "effect": "ask"
864
+ "action": "gitlab_mr_discussions",
865
+ "resource": "*",
866
+ "effect": "allow"
892
867
  },
893
868
  {
894
- "action": "shell",
895
- "resource": "GIT_OPTIONAL_LOCKS=0 git worktree list",
896
- "effect": "ask"
869
+ "action": "gitlab_whoami",
870
+ "resource": "*",
871
+ "effect": "allow"
897
872
  },
898
873
  {
899
- "action": "shell",
900
- "resource": "GIT_OPTIONAL_LOCKS=0 git worktree list *",
901
- "effect": "ask"
874
+ "action": "gitlab_health_check",
875
+ "resource": "*",
876
+ "effect": "allow"
902
877
  },
903
878
  {
904
- "action": "shell",
905
- "resource": "git worktree add",
906
- "effect": "ask"
879
+ "action": "gitlab_get_project_variable",
880
+ "resource": "*",
881
+ "effect": "deny"
907
882
  },
908
883
  {
909
- "action": "shell",
910
- "resource": "git worktree add *",
911
- "effect": "ask"
884
+ "action": "gitlab_get_group_variable",
885
+ "resource": "*",
886
+ "effect": "deny"
912
887
  },
913
888
  {
914
- "action": "shell",
915
- "resource": "GIT_OPTIONAL_LOCKS=0 git worktree add",
916
- "effect": "ask"
889
+ "action": "gitlab_list_project_variables",
890
+ "resource": "*",
891
+ "effect": "deny"
917
892
  },
918
893
  {
919
- "action": "shell",
920
- "resource": "GIT_OPTIONAL_LOCKS=0 git worktree add *",
921
- "effect": "ask"
894
+ "action": "gitlab_list_group_variables",
895
+ "resource": "*",
896
+ "effect": "deny"
922
897
  },
923
898
  {
924
899
  "action": "shell",
@@ -984,66 +959,6 @@
984
959
  "action": "shell",
985
960
  "resource": "git remote add*",
986
961
  "effect": "deny"
987
- },
988
- {
989
- "action": "gitlab_*",
990
- "resource": "*",
991
- "effect": "ask"
992
- },
993
- {
994
- "action": "gitlab_get_*",
995
- "resource": "*",
996
- "effect": "allow"
997
- },
998
- {
999
- "action": "gitlab_list_*",
1000
- "resource": "*",
1001
- "effect": "allow"
1002
- },
1003
- {
1004
- "action": "gitlab_search_*",
1005
- "resource": "*",
1006
- "effect": "allow"
1007
- },
1008
- {
1009
- "action": "gitlab_my_issues",
1010
- "resource": "*",
1011
- "effect": "allow"
1012
- },
1013
- {
1014
- "action": "gitlab_mr_discussions",
1015
- "resource": "*",
1016
- "effect": "allow"
1017
- },
1018
- {
1019
- "action": "gitlab_whoami",
1020
- "resource": "*",
1021
- "effect": "allow"
1022
- },
1023
- {
1024
- "action": "gitlab_health_check",
1025
- "resource": "*",
1026
- "effect": "allow"
1027
- },
1028
- {
1029
- "action": "gitlab_get_project_variable",
1030
- "resource": "*",
1031
- "effect": "deny"
1032
- },
1033
- {
1034
- "action": "gitlab_get_group_variable",
1035
- "resource": "*",
1036
- "effect": "deny"
1037
- },
1038
- {
1039
- "action": "gitlab_list_project_variables",
1040
- "resource": "*",
1041
- "effect": "deny"
1042
- },
1043
- {
1044
- "action": "gitlab_list_group_variables",
1045
- "resource": "*",
1046
- "effect": "deny"
1047
962
  }
1048
963
  ]
1049
964
  }