|
2831 | 2831 | "additionals": { |
2832 | 2832 | "description": "mDNS additional records", |
2833 | 2833 | "type": "array", |
2834 | | - "minItems": 1 |
| 2834 | + "minItems": 1, |
| 2835 | + "items": { |
| 2836 | + "type": "object", |
| 2837 | + "additionalProperties": false, |
| 2838 | + "properties": { |
| 2839 | + "ptr": { |
| 2840 | + "type": "string", |
| 2841 | + "description": "Value of the requested PTR record", |
| 2842 | + "suricata": { |
| 2843 | + "keywords": [ |
| 2844 | + "mdns.response.rrname" |
| 2845 | + ] |
| 2846 | + } |
| 2847 | + }, |
| 2848 | + "rrname": { |
| 2849 | + "type": "string", |
| 2850 | + "description": "Resource name of the record being returned", |
| 2851 | + "suricata": { |
| 2852 | + "keywords": [ |
| 2853 | + "mdns.additionals.rrname", |
| 2854 | + "mdns.response.rrname" |
| 2855 | + ] |
| 2856 | + } |
| 2857 | + }, |
| 2858 | + "rrname_truncated": { |
| 2859 | + "description": "Name was truncated by Suricata due to length", |
| 2860 | + "type": "boolean", |
| 2861 | + "$comment": "keyword: app-layer-event:mdns.name_too_long (https://redmine.openinfosecfoundation.org/issues/7784)" |
| 2862 | + }, |
| 2863 | + "txt": { |
| 2864 | + "type": "array", |
| 2865 | + "description": "Value of the requested TXT record", |
| 2866 | + "minItems": 1, |
| 2867 | + "items": { |
| 2868 | + "type": "string" |
| 2869 | + } |
| 2870 | + } |
| 2871 | + } |
| 2872 | + } |
2835 | 2873 | }, |
2836 | 2874 | "answers": { |
2837 | 2875 | "description": "mDNS answer records", |
|
2842 | 2880 | "additionalProperties": false, |
2843 | 2881 | "properties": { |
2844 | 2882 | "ptr": { |
2845 | | - "type": "string" |
| 2883 | + "type": "string", |
| 2884 | + "description": "Value of the requested PTR record", |
| 2885 | + "suricata": { |
| 2886 | + "$comment": "No specific ptr keywords exists", |
| 2887 | + "keywords": [ |
| 2888 | + "mdns.response.rrname" |
| 2889 | + ] |
| 2890 | + } |
2846 | 2891 | }, |
2847 | 2892 | "rrname": { |
2848 | | - "type": "string" |
| 2893 | + "type": "string", |
| 2894 | + "description": "Resource name of the record being returned", |
| 2895 | + "suricata": { |
| 2896 | + "keywords": [ |
| 2897 | + "mdns.answers.rrname", |
| 2898 | + "mdns.response.rrname" |
| 2899 | + ] |
| 2900 | + } |
| 2901 | + }, |
| 2902 | + "rrname_truncated": { |
| 2903 | + "description": "Name was truncated by Suricata due to length", |
| 2904 | + "type": "boolean", |
| 2905 | + "$comment": "keyword: app-layer-event:mdns.name_too_long (https://redmine.openinfosecfoundation.org/issues/7784)" |
2849 | 2906 | }, |
2850 | 2907 | "txt": { |
2851 | 2908 | "type": "array", |
2852 | | - "minItems": 1 |
| 2909 | + "description": "Value of the requested TXT record", |
| 2910 | + "minItems": 1, |
| 2911 | + "items": { |
| 2912 | + "type": "string" |
| 2913 | + } |
2853 | 2914 | } |
2854 | 2915 | } |
2855 | 2916 | } |
2856 | 2917 | }, |
2857 | 2918 | "authorities": { |
2858 | 2919 | "description": "mDNS authority records", |
2859 | 2920 | "type": "array", |
2860 | | - "minItems": 1 |
| 2921 | + "minItems": 1, |
| 2922 | + "items": { |
| 2923 | + "type": "object", |
| 2924 | + "additionalProperties": false, |
| 2925 | + "properties": { |
| 2926 | + "rrname": { |
| 2927 | + "type": "string", |
| 2928 | + "description": "Resource name of the record being returned", |
| 2929 | + "suricata": { |
| 2930 | + "keywords": [ |
| 2931 | + "mdns.authorities.rrname", |
| 2932 | + "mdns.response.rrname" |
| 2933 | + ] |
| 2934 | + } |
| 2935 | + }, |
| 2936 | + "rrname_truncated": { |
| 2937 | + "description": "Name was truncated by Suricata due to length", |
| 2938 | + "type": "boolean", |
| 2939 | + "$comment": "keyword: app-layer-event:mdns.name_too_long (https://redmine.openinfosecfoundation.org/issues/7784)" |
| 2940 | + } |
| 2941 | + } |
| 2942 | + } |
2861 | 2943 | }, |
2862 | 2944 | "flags": { |
2863 | 2945 | "description": "mDNS message flags", |
|
2912 | 2994 | "type": "object", |
2913 | 2995 | "properties": { |
2914 | 2996 | "rrname": { |
2915 | | - "type": "string" |
| 2997 | + "description": "Resource name being requested", |
| 2998 | + "type": "string", |
| 2999 | + "suricata": { |
| 3000 | + "keywords": [ |
| 3001 | + "mdns.queries.rrname" |
| 3002 | + ] |
| 3003 | + } |
| 3004 | + }, |
| 3005 | + "rrname_truncated": { |
| 3006 | + "description": "Name was truncated by Suricata due to length", |
| 3007 | + "type": "boolean", |
| 3008 | + "$comment": "keyword: app-layer-event:mdns.name_too_long (https://redmine.openinfosecfoundation.org/issues/7784)" |
2916 | 3009 | }, |
2917 | 3010 | "rrtype": { |
2918 | | - "type": "string" |
| 3011 | + "type": "string", |
| 3012 | + "description": "Type of resource being requested" |
2919 | 3013 | } |
2920 | 3014 | } |
2921 | 3015 | } |
|
0 commit comments