|
| 1 | +.Input |
| 2 | +[source,bash] |
| 3 | +---- |
| 4 | +curl 'http://localhost:9644/v1/security/report' |
| 5 | +---- |
| 6 | + |
| 7 | +.View output |
| 8 | +[%collapsible] |
| 9 | +==== |
| 10 | +[source,bash,role=no-copy] |
| 11 | +---- |
| 12 | +{ |
| 13 | + "interfaces": { |
| 14 | + "kafka": [ |
| 15 | + { |
| 16 | + "name": "test_kafka_listener", |
| 17 | + "host": "0.0.0.0", |
| 18 | + "port": 9092, |
| 19 | + "advertised_host": "0.0.0.0", |
| 20 | + "advertised_port": 9092, |
| 21 | + "tls_enabled": false, |
| 22 | + "mutual_tls_enabled": false, |
| 23 | + "authentication_method": "None", |
| 24 | + "authorization_enabled": false |
| 25 | + } |
| 26 | + ], |
| 27 | + "rpc": { |
| 28 | + "host": "0.0.0.0", |
| 29 | + "port": 33145, |
| 30 | + "advertised_host": "127.0.0.1", |
| 31 | + "advertised_port": 33145, |
| 32 | + "tls_enabled": false, |
| 33 | + "mutual_tls_enabled": false |
| 34 | + }, |
| 35 | + "admin": [ |
| 36 | + { |
| 37 | + "name": "test_admin_listener", |
| 38 | + "host": "0.0.0.0", |
| 39 | + "port": 9644, |
| 40 | + "tls_enabled": false, |
| 41 | + "mutual_tls_enabled": false, |
| 42 | + "authentication_methods": [], |
| 43 | + "authorization_enabled": false |
| 44 | + } |
| 45 | + ] |
| 46 | + }, |
| 47 | + "alerts": [ |
| 48 | + { |
| 49 | + "affected_interface": "kafka", |
| 50 | + "listener_name": "test_kafka_listener", |
| 51 | + "issue": "NO_TLS", |
| 52 | + "description": "\"kafka\" interface \"test_kafka_listener\" is not using TLS. This is insecure and not recommended." |
| 53 | + }, |
| 54 | + { |
| 55 | + "affected_interface": "kafka", |
| 56 | + "listener_name": "test_kafka_listener", |
| 57 | + "issue": "NO_AUTHN", |
| 58 | + "description": "\"kafka\" interface \"test_kafka_listener\" is not using authentication. This is insecure and not recommended." |
| 59 | + }, |
| 60 | + { |
| 61 | + "affected_interface": "kafka", |
| 62 | + "listener_name": "test_kafka_listener", |
| 63 | + "issue": "NO_AUTHZ", |
| 64 | + "description": "\"kafka\" interface \"test_kafka_listener\" is not using authorization. This is insecure and not recommended." |
| 65 | + }, |
| 66 | + { |
| 67 | + "affected_interface": "rpc", |
| 68 | + "issue": "NO_TLS", |
| 69 | + "description": "\"rpc\" interface is not using TLS. This is insecure and not recommended." |
| 70 | + }, |
| 71 | + { |
| 72 | + "affected_interface": "admin", |
| 73 | + "listener_name": "test_admin_listener", |
| 74 | + "issue": "NO_TLS", |
| 75 | + "description": "\"admin\" interface \"test_admin_listener\" is not using TLS. This is insecure and not recommended." |
| 76 | + }, |
| 77 | + { |
| 78 | + "affected_interface": "admin", |
| 79 | + "listener_name": "test_admin_listener", |
| 80 | + "issue": "NO_AUTHZ", |
| 81 | + "description": "\"admin\" interface \"test_admin_listener\" is not using authorization. This is insecure and not recommended." |
| 82 | + }, |
| 83 | + { |
| 84 | + "affected_interface": "admin", |
| 85 | + "listener_name": "test_admin_listener", |
| 86 | + "issue": "NO_AUTHN", |
| 87 | + "description": "\"admin\" interface \"test_admin_listener\" is not using authentication. This is insecure and not recommended." |
| 88 | + } |
| 89 | + ] |
| 90 | +} |
| 91 | +---- |
| 92 | +==== |
0 commit comments