1 | import { Integration } from '@sentry/types';
|
2 |
|
3 | interface InboundFiltersOptions {
|
4 | allowUrls: Array<string | RegExp>;
|
5 | denyUrls: Array<string | RegExp>;
|
6 | ignoreErrors: Array<string | RegExp>;
|
7 | ignoreInternal: boolean;
|
8 |
|
9 | whitelistUrls: Array<string | RegExp>;
|
10 |
|
11 | blacklistUrls: Array<string | RegExp>;
|
12 | }
|
13 |
|
14 | export declare class InboundFilters implements Integration {
|
15 | private readonly _options;
|
16 | |
17 |
|
18 |
|
19 | static id: string;
|
20 | |
21 |
|
22 |
|
23 | name: string;
|
24 | constructor(_options?: Partial<InboundFiltersOptions>);
|
25 | /**
|
26 | * @inheritDoc
|
27 | */
|
28 | setupOnce(): void;
|
29 | /** JSDoc */
|
30 | private _shouldDropEvent;
|
31 | /** JSDoc */
|
32 | private _isSentryError;
|
33 | /** JSDoc */
|
34 | private _isIgnoredError;
|
35 | /** JSDoc */
|
36 | private _isDeniedUrl;
|
37 | /** JSDoc */
|
38 | private _isAllowedUrl;
|
39 | /** JSDoc */
|
40 | private _mergeOptions;
|
41 | /** JSDoc */
|
42 | private _getPossibleEventMessages;
|
43 | /** JSDoc */
|
44 | private _getEventFilterUrl;
|
45 | }
|
46 | export {};
|
47 |
|
\ | No newline at end of file |