ripe-bgp-activity
스타14
포크3
업데이트2026년 2월 28일 01:52
Returns the number of BGP updates seen for a resource.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SKILL.md
readonly메뉴
Returns the number of BGP updates seen for a resource.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Fetches DNS chain data from RIPE NCC for a specific domain. This skill must be used whenever the user asks for a 'chain', 'full path', or 'multi-step' DNS resolution
Fetches global BGP state data from RIPE NCC for a specific resource.
SOC 직업 분류 기준
| name | ripe-bgp-activity |
| description | Returns the number of BGP updates seen for a resource. |
| metadata | {"category":"network"} |
This skill queries the RIPE Stat API to returns the number of BGP updates seen over time. Results are aggregated in time intervals, the lenght of which is determined by the input parameters.
import requests
def execute(resource, starttime=None, endtime=None):
url = "https://stat.ripe.net/data/bgp-update-activity/data.json"
params = {"resource": resource}
if starttime:
params["starttime"] = starttime
if endtime:
params["endtime"] = endtime
response = requests.get(url, params=params)
response.raise_for_status()
return response.json().get("data", {})
A JSON object containing:
updates: List with BGP update activity samples. Each sample contains:
starttime: The beginning of each sample.announcements: The number of announcements in this sample.withdrawals: The number of withdrawals in this sample.sampling_period: The duration in seconds of each sample interval.sampling_period_human: A human-readable version of the sampling period.query_starttime: The starttime the query covers.query_endtime: The endtime the query covers.resource: Defines the resource used for the query.resource_type: The detected type of the queried resource ("asn", 4 or 6).max_samples: The maximum number of samples returned.