Skip to content

Commit

Permalink
Auth, ConfigParser, and export_path #38
Browse files Browse the repository at this point in the history
* Adding config file

* Adding Requirements, configparser to download.py

* Adding token auth, configparser, and export_path

* Adding token auth, configparser, and sync_path
  • Loading branch information
rustymyers authored Oct 21, 2023
1 parent f572e40 commit 349b100
Show file tree
Hide file tree
Showing 6 changed files with 197 additions and 64 deletions.
2 changes: 1 addition & 1 deletion extension_attributes/Last User/ea.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ lastUser=`defaults read /Library/Preferences/com.apple.loginwindow lastUserName`
if [ $lastUser == "" ]; then
echo "<result>No logins</result>"
else
echo "<result>$lastUser</result>"
echo "<result>$lastUser</result>"
2 changes: 1 addition & 1 deletion extension_attributes/Last User/ea.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" ?>
<computer_extension_attribute>
<name>Last User</name>
<enabled>true</enabled>
<description>This attribute displays the last user to log in. This attribute applies to both Mac and Windows.</description>
<data_type>String</data_type>
<input_type>
Expand All @@ -9,5 +10,4 @@
<script/>
</input_type>
<inventory_display>General</inventory_display>
<recon_display>Extension Attributes</recon_display>
</computer_extension_attribute>
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ cchardet
aiodns
uvloop
requests
configparser
2 changes: 1 addition & 1 deletion scripts/Install Software Updates/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

softwareupdate -i -a

exit 0
exit 0
Loading

0 comments on commit 349b100

Please sign in to comment.