mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
9 lines
396 B
Plaintext
9 lines
396 B
Plaintext
import javascript
|
|
import experimental.adaptivethreatmodeling.EndpointFeatures
|
|
import TestUtil
|
|
|
|
// every feature must produce a single value for each endpoint that it computes a value for, per the contract of the `scoreEndpoints` HOP
|
|
from Endpoint endpoint, EndpointFeature feature, int arity
|
|
where arity = count(feature.getValue(endpoint)) and arity > 1
|
|
select endpoint, feature.getName(), arity
|