rules: - name: Riot Platform Host id: kingfisher.riot.1 visible: false confidence: medium min_entropy: 1.0 pattern: | (?xi) \b ( (?:br1|eun1|euw1|jp1|kr|la1|la2|na1|oc1|ru|tr1 |ph2|sg2|th2|tw2|vn2 |americas|europe|asia) \.api\.riotgames\.com ) \b examples: - na1.api.riotgames.com - euw1.api.riotgames.com - americas.api.riotgames.com - name: Riot Games API Key id: kingfisher.riot.2 pattern: | (?x) \b ( RGAPI-[a-zA-Z0-9_-]{36} ) \b pattern_requirements: min_digits: 4 min_entropy: 3.0 confidence: medium examples: - RGAPI-4sb3f6a1-2941-5a81-9c23-4bf3a83c14f3 references: - https://developer.riotgames.com/docs/lol - https://developer.riotgames.com/apis depends_on_rule: - rule_id: kingfisher.riot.1 variable: RIOT_PLATFORM_HOST validation: type: Http content: request: method: GET url: "https://{{ RIOT_PLATFORM_HOST }}/lol/status/v4/platform-data" headers: X-Riot-Token: "{{ TOKEN }}" Accept: application/json response_matcher: - report_response: true - type: StatusMatch status: [200]