Replies: 1 comment
-
Hi @RoemIko - Try the following snippet and let us know if you encounter issues: from falconpy import IdentityProtection
# This example is leveraging Environment Authentication
idp = IdentityProtection()
idp_query = """{
entities(
archived: false
first: 5
riskFactorTypes: [HAS_ATTACK_PATH]
sortKey: RISK_SCORE
sortOrder: DESCENDING
)
{
nodes {
primaryDisplayName
secondaryDisplayName
riskScoreSeverity
riskFactors {
type
... on AttackPathBasedRiskFactor {
attackPath {
entity {
primaryDisplayName
type
riskScoreSeverity
}
relation
nextEntity {
primaryDisplayName
type
riskScoreSeverity
}
}
}
}
}
}
}"""
result = idp.graphql(query=idp_query) Thanks for the question! 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there an easy way to display all attack paths to a privileged account?
Beta Was this translation helpful? Give feedback.
All reactions