Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.3.4 - Context manager support, bug fixes and operation updates #1079

Merged
merged 16 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
279 changes: 278 additions & 1 deletion .github/wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -900,4 +900,281 @@ CreateSavedSearchesExecuteV
CreateSavedSearchesIngestV
GetSavedSearchesJobResultsDownloadV
clobberer
UUIDs
UUIDs
AAAAGYktHRAAAAAAAAPlDu
AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQflDAsTByz
AAABhWlDQ
AENyZWF
AUhU
AuOe
BBIm
BJQ
BllzBbyJJBgDclVkO
COjZBi
Cmm
Cnate
CuffOubQVUXL
CzCcGPyWywAAAABJRU
EOFwAAAYBJREFUKM
ErkJggg
FlwWeGTHTqTniCLFYaGGlhVnR
HZIEAKiMj
HztO
ILMXTTGYVfaut
IgniKOqplO
Iw
JQOLiIU
Jh
KGgoAAAANSUhEUgAAABIAAAAOCAYAAAAi
KfPKlFdkGAMY
KhRTdx
Kukd
LCi
LWiOxljG
MZ
MgcHJvZmlsZQAAKJF
MyheKA
NK
Nsgmm
ODPYtXBxVlXB
OEvgJC
PhmzKrsTnL
QApADvu
QL
QQIPgNXetNfrgFTn
QV
QeJEQg
RBCBLjq
RXm
Tjy
TpaIVBzuIOGSoDmJBVEQ
TzwPsZjSkL
UYCNGp
VNRUuHy
XFIJ
XHnrWX
XRD
YHAdwB
YizdKNq
Yu
ZWQgd
aCBHSU
aP
aRuc
akhQXR
bbXapMy
bqURczGRXxNAruhAEMI
bzFWStVWKNO
cA
cAAAAGXRFWHRDb
cj
createrulesv
dBEPwBcXNzUnSREu
dNo
dYl
dg
eSyiBfOe
eWvnxMS
fIpdCrg
fcR
ftlJAD
hHg
hfHCGB
hmVnGrCQl
hq
iELI
iVBORw
ifPB
img
jrtASSwgEVIEKGggg
jvXkColZhmtY
kPFY
kT
kjrCirxOfEIyYVSPzIdcXjN
ktSur
ky
lOFcL
lR
labelColor
lkjFIlVEYht
mDzLkrxafSxySFKjSWX
mX
oCMAvnZgCcsF
oTmjKzz
pHAfaXxznYxAI
pehjAiaVfkN
pnCFP
png
quN
qyB
qzmLAQGReIYZpk
rUIRKoRaoVUHk
rXrcAAgs
sFkYYUyUnIRcemhCtCU
sNwTl
sTAHazSG
tSr
tZW
uOniJhivesLx
vN
vO
wOzbOx
wcAgMFSh
wcsyjDA
wefwe
wzx
xr
yBjDtfWORJZlNtFyo
zeffHa
zn
zuAH
zzkXJbeUljIldFTstsmSHM
pyfiglet
csv
ExampleToken
NewExampleToken
deletesamplev
getartifacts
getreports
getsamplev
getscans
getsubmissions
queryreports
scansamples
uploadsamplev
attck
getintelactorentities
getintelindicatorentities
getintelreportentities
getmalqueryentitiessamplesfetchv
getmalqueryrequestv
getmitrereport
malqueryinator
misp
mitre
postmalqueryentitiessamplesmultidownloadv
postmalqueryfuzzysearchv
queryintelactorentities
queryintelindicatorentities
queryintelreportentities
querymitreattacks
tf
xkcd
cisa
combinedqueryvulnerabilities
darkblue
dhs
getdevicedetails
getremediationsv
getvulnerabilities
querydevicesbyfilterscroll
queryvulnerabilities
getcspmpolicysettings
deleteawsaccounts
provisionawsaccounts
queryawsaccounts
updateawsaccounts
verifyawsaccountaccess
basaglia
batchactiverespondercmd
batchadmincmd
batchinitsessions
checkadmincommandstatus
createput
createscripts
deleteput
deletescripts
deletesession
executeadmincommand
getdevicedetails
getextractedfilecontents
getsensorinstallersccidbyquery
gitlab
initsession
listput
listqueuedsessions
listscripts
mattia
proxytool
querydevicesbyfilterscroll
querygroupmembers
rtr
runscript
crowdscore
getincidents
performincidentaction
queryincidents
quickchart
deletepreventionpolicies
getpreventionpolicies
performpreventionpoliciesaction
querycombinedpreventionpolicies
querypreventionpolicies
updatepreventionpolicies
getdetectsummaries
querydetects
updatedetectsbyidsv
cloner
groupmixin
groupsmixin
batchadmincmd
batchinitsessions
checkadmincommandstatus
createhostgroups
darkblue
deletesession
multicid
querychildren
querycombinedhostgroups
querycombinedpreventionpolicies
querydevicesbyfilter
rtr
listavailablestreamsoauth
refreshactivestreamsession
combineduserrolesv
createuser
darkblue
deleteuser
getavailableroleids
getuserroleids
grantuserroleids
queryuserv
retrieveuser
retrieveusersgetv
retrieveuseruuid
retrieveuseruuidsbycid
revokeuserroleids
getquarantinefiles
getsamplev
queryquarantinefiles
darkblue
getsensorinstallersccidbyquery
querychildren
createsensorupdatepoliciesv
deletesensorupdatepolicies
performsensorupdatepoliciesaction
querycombinedsensorupdatebuilds
querycombinedsensorupdatekernels
querycombinedsensorupdatepoliciesv
querycombinedsensorupdatepolicymembers
revealuninstalltoken
setsensorupdatepoliciesprecedence
updatesensorupdatepolicies
downloadsensorinstallerbyid
getcombinedsensorinstallersbyquery
getdevicedetails
micgoetz
performactionv
querydeviceloginhistory
querydevicesbyfilter
querydevicesbyfilterscroll
rtr
updatedevicetags
accesstoken
aes
queryawsaccounts
querydetects
querydevicesbyfilterscroll
queryincidents
queryintelactorentities
apis
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
# Version 1.3.4
## Added features and functionality
+ Added: Use a Service Class or the Uber Class as a context manager.
> Leveraging this functionality will automatically revoke your bearer token on context manager exit.
```python
from falconpy import Hosts
with Hosts(pythonic=True) as hosts:
for device in hosts.query_devices().data:
print(device)
```
- `_auth_object/_uber_interface.py`
- `_service_class/_service_class.py`
+ Added: `app_id` keyword added to _CreateSavedSearchesIngestV1_ operation.
- `foundry_logscale.py`
> Unit testing expanded to complete code coverage.
- `tests/test_foundry_logscale.py`

## Issues resolved
+ Fixed: _update_policy_container_ operation payload handler is missing the `policy_id` key. Closes #1068.
- `_payload/_firewall.py`
> Expanded unit testing to complete code coverage.
- `tests/test_firewall_management.py`
+ Fixed: `after` property is missing from the __Meta__ object. Closes #1069.
- `_result/_meta.py`
- `_result/_result.py`
+ Fixed: Payload handler for _tokens_update_ operation is not properly passing the `revoked` key. Closes #1074.
- `installation_tokens.py`
+ Fixed: API operations generating leveraging the raw attribute are not properly displaying results when leveraging result object expansion. Closes #1076.
- `_result/_result.py`
+ Fixed: Per-operation pythonic override is not working as expected. Closes #1078.
- `_util/_functions.py`

# Other
+ Changed: Updated field mapping for Uber Class path variables to a cleaner solution.
- `_util/_uber.py`
+ Removed: The unsupported actions `add-rule-group` and `remove-rule-group` are removed from the _performFirewallPoliciesAction_ operation. Relates to #1059.
- `firewall_policies.py`

---

# Version 1.3.3
## Added features and functionality
+ Added: Deprecation warnings for deprecated classes and operations. Closes #1055.
Expand Down
Loading