github.com/prebid/prebid-server/v2@v2.18.0/.semgrep/adapter/parse-bid-type-check.yml (about)

     1  rules:
     2    - id: parse-bid-type-check
     3      message: > 
     4        Prebid server expects the media type to be explicitly set in the adapter response. 
     5        Therefore, recommends implementing a pattern where the adapter server sets the [MType](https://github.com/prebid/openrtb/blob/main/openrtb2/bid.go#L334) field in the response to accurately determine the media type for the impression.
     6      languages:
     7        - go
     8      severity: WARNING
     9      patterns:
    10        - pattern: openrtb_ext.ParseBidType(...)