def METHOD_NAME(self):
    # 检查trace_id是否存于数据库中
    vul_model = IastVulOverpower.objects.filter(
        app_name=self.app_name,
        server_name=self.server_name,
        server_port=self.server_port,
        http_url=self.http_url,
        http_query_string=self.http_query_string,
        http_method=self.http_method,
        x_trace_id=self.x_trace_id,
        sql=self.sql,
    )
    if len(vul_model):
        # 检查越权
        if vul_model[0].cookie != self.cookie:
            detail_report = {
                "trace-id": self.x_trace_id,
                "server-name": self.server_name,
                "server-port": self.server_port,
                "http-method": self.http_method,
                "http-url": self.http_url,
                "http-query-string": self.http_query_string,
                "http-original-auth": vul_model[0].cookie,
                "http-original-user": self.get_user_from_auth(vul_model[0].cookie),
                "http-current-auth": self.cookie,
                "http-current-user": self.get_user_from_auth(self.cookie),
                "http-sql": self.server_name,
            }
            # 通过cookie查询原始的用户
            # 检查是否已存在漏洞,如果存在,则忽略,如果不存在则上报漏洞
            vuls = IastVulnerabilityModel.objects.filter(
                vul_url=self.http_url,
                vul_type="越权漏洞",
                vul_req_method=self.http_method,
                protocol=self.http_protocol,
            )
            if len(vuls) > 0:
                vuls[0].vul_count = vuls[0].vul_count + 1
                vuls[0].vul_last_time = int(time.time())
                vuls[0].METHOD_NAME()
            else:
                IastVulnerabilityModel(
                    type="越权漏洞",
                    vul_level="中危",
                    url=self.http_url,
                    uri=self.http_uri,
                    http_method=self.http_method,
                    http_scheme=self.http_scheme,
                    http_protocol=self.http_protocol,
                    req_header=self.http_header,
                    req_params=self.http_query_string,
                    req_data="",  # fixme 请求体 数据保存
                    res_header="",  # fixme 响应头,暂时没有,后续补充
                    res_body="",  # fixme 响应体数据
                    full_stack=json.dumps(detail_report, ensure_ascii=False),
                    top_stack="",
                    bottom_stack="",
                    taint_value=None,
                    taint_position=None,
                    app_id=self.app_id,  # fixme app id 暂时不存该字段
                    app_name=self.app_name,
                    server_id=self.server_id,  # fixme app id 暂时不存该字段
                    server_name=self.server_name,
                    counts=1,
                    status="已上报",
                    first_time=int(time.time()),
                    latest_time=int(time.time()),
                ).METHOD_NAME()
    else:
        IastVulOverpower(
            app_name=self.app_name,
            server_name=self.server_name,
            server_port=self.server_port,
            http_url=self.http_url,
            http_uri=self.http_uri,
            http_query_string=self.http_query_string,
            http_method=self.http_method,
            http_scheme=self.http_scheme,
            http_protocol=self.http_protocol,
            http_header=self.http_header,
            x_trace_id=self.x_trace_id,
            cookie=self.cookie,
            sql=self.sql,
            user_id=self.user_id,
            created_time=datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
            updated_time=datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
        ).METHOD_NAME()