Skip to content

Commit 12120da

Browse files
authored
Merge branch 'main' into wyatt-stanke
2 parents 1b7205a + 933006e commit 12120da

7 files changed

Lines changed: 88 additions & 0 deletions
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Search for a package on a Android device
3+
command: adb shell pm list packages | grep "{{query}}"
4+
tags:
5+
- android
6+
- adb
7+
description: Use ADB to search for packages on a Android device.
8+
arguments:
9+
- name: query
10+
description: A search query for which package you want to find.
11+
author: Odin Asbjørnsen
12+
author_url: https://github.com/oas004
13+
shells: []
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Manually run a cookbook by name
3+
command: sudo chef client -o recipe['{{cookbook}}']
4+
tags:
5+
- chef
6+
description: Use to run a cookbook manually
7+
arguments:
8+
- name: cookbook
9+
description: Name of the cookbook
10+
source_url: https://docs.chef.io/ctl_chef_client
11+
author: Amado Tejada
12+
author_url: https://github.com/amadotejada
13+
shells: []

specs/dig/txt_records_dig.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Get the text records for a domain
2+
command: dig +short {{domain}} txt
3+
tags:
4+
- dig
5+
description: Use dig to get the txt records for a domain. Useful for a quick lookup of SPF records.
6+
arguments:
7+
- name: domain
8+
description: The domain you want to lookup.
9+
default_value:
10+
author: Kia Matthews
11+
author_url: "https://www.github.com/kiamatthews"
12+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Manually initiate a policy via policy id
3+
command: sudo jamf policy -event "{{policy_id}}" -verbose
4+
tags:
5+
- jamf
6+
description: Use to run a Jamf policy manually
7+
arguments:
8+
- name: policy_id
9+
description: The id number of the Jamf policy
10+
author: Amado Tejada
11+
author_url: https://github.com/amadotejada
12+
shells: []
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Manually initiate a policy via policy trigger name
3+
command: sudo jamf policy -event "{{triggerName}}" -verbose
4+
tags:
5+
- jamf
6+
description: Use to run a Jamf policy manually
7+
arguments:
8+
- name: triggerName
9+
description: Custom trigger name of the Jamf policy
10+
source_url: https://docs.jamf.com/technical-articles/Manually_Initiating_a_Policy.html
11+
author: Amado Tejada
12+
author_url: https://github.com/amadotejada
13+
shells: []
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: Manually initiate a recon inventory
3+
command: sudo jamf recon
4+
tags:
5+
- jamf
6+
description: Force a full Jamf inventory from the client
7+
author: Amado Tejada
8+
author_url: https://github.com/amadotejada
9+
shells: []
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Change an SSH key comment
2+
command: ssh-keygen -c -C "{{new_comment}}" -f {{ssh_key_path}}
3+
tags:
4+
- ssh
5+
- ssl
6+
description: Change the comment stored in the public key of a pub/priv key pair.
7+
arguments:
8+
- name: new_comment
9+
description: The new comment that you want to replace the existing comment.
10+
default_value:
11+
- name: ssh_key_path
12+
description: The path to the private key
13+
default_value:
14+
author: Kia Matthews
15+
author_url: "https://www.github.com/kiamatthews"
16+
shells: []

0 commit comments

Comments
 (0)