go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/resources/networkinterface/testdata/macos.toml (about)

     1  [commands."uname -s"]
     2  stdout = "Darwin"
     3  
     4  [commands."uname -m"]
     5  stdout = "x86_64"
     6  
     7  [commands."uname -r"]
     8  stdout = "18.6.0"
     9  
    10  [commands."/usr/bin/sw_vers"]
    11  stdout = """
    12  ProductName:	Mac OS X
    13  ProductVersion:	10.14.5
    14  BuildVersion:	18F132
    15  """
    16  
    17  [files."/System/Library/CoreServices/SystemVersion.plist"]
    18  content = """
    19  <?xml version="1.0" encoding="UTF-8"?>
    20  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    21  <plist version="1.0">
    22  <dict>
    23  	<key>ProductBuildVersion</key>
    24  	<string>18F132</string>
    25  	<key>ProductCopyright</key>
    26  	<string>1983-2019 Apple Inc.</string>
    27  	<key>ProductName</key>
    28  	<string>Mac OS X</string>
    29  	<key>ProductUserVisibleVersion</key>
    30  	<string>10.14.5</string>
    31  	<key>ProductVersion</key>
    32  	<string>10.14.5</string>
    33  	<key>iOSSupportVersion</key>
    34  	<string>12.3</string>
    35  </dict>
    36  </plist>
    37  """
    38  
    39  [commands."ifconfig"]
    40  stdout = """
    41  lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    42  	options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
    43  	inet 127.0.0.1 netmask 0xff000000 
    44  	inet6 ::1 prefixlen 128 
    45  	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
    46  	inet 127.94.0.2 netmask 0xff000000 
    47  	inet 127.94.0.1 netmask 0xff000000 
    48  	nd6 options=201<PERFORMNUD,DAD>
    49  gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
    50  stf0: flags=0<> mtu 1280
    51  en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    52  	options=400<CHANNEL_IO>
    53  	ether 8c:85:90:80:1b:e9 
    54  	inet6 fe80::14f6:9e9e:ca94:99d7%en0 prefixlen 64 secured scopeid 0x5 
    55  	inet 192.168.178.45 netmask 0xffffff00 broadcast 192.168.178.255
    56  	nd6 options=201<PERFORMNUD,DAD>
    57  	media: autoselect
    58  	status: active
    59  p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
    60  	options=400<CHANNEL_IO>
    61  	ether 0e:85:90:80:1b:e9 
    62  	media: autoselect
    63  	status: inactive
    64  awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
    65  	options=400<CHANNEL_IO>
    66  	ether 4a:77:1c:1d:a5:7a 
    67  	inet6 fe80::4877:1cff:fe1d:a57a%awdl0 prefixlen 64 scopeid 0x7 
    68  	nd6 options=201<PERFORMNUD,DAD>
    69  	media: autoselect
    70  	status: active
    71  llw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    72  	options=400<CHANNEL_IO>
    73  	ether 4a:77:1c:1d:a5:7a 
    74  	inet6 fe80::4877:1cff:fe1d:a57a%llw0 prefixlen 64 scopeid 0x8 
    75  	nd6 options=201<PERFORMNUD,DAD>
    76  	media: autoselect
    77  	status: active
    78  bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    79  	options=63<RXCSUM,TXCSUM,TSO4,TSO6>
    80  	ether 82:44:91:6b:30:01 
    81  	Configuration:
    82  		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
    83  		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
    84  		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
    85  		ipfilter disabled flags 0x2
    86  	member: en1 flags=3<LEARNING,DISCOVER>
    87  	        ifmaxaddr 0 port 10 priority 0 path cost 0
    88  	member: en2 flags=3<LEARNING,DISCOVER>
    89  	        ifmaxaddr 0 port 11 priority 0 path cost 0
    90  	member: en3 flags=3<LEARNING,DISCOVER>
    91  	        ifmaxaddr 0 port 12 priority 0 path cost 0
    92  	member: en4 flags=3<LEARNING,DISCOVER>
    93  	        ifmaxaddr 0 port 13 priority 0 path cost 0
    94  	nd6 options=201<PERFORMNUD,DAD>
    95  	media: <unknown type>
    96  	status: inactive
    97  en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
    98  	options=460<TSO4,TSO6,CHANNEL_IO>
    99  	ether 82:44:91:6b:30:01 
   100  	media: autoselect <full-duplex>
   101  	status: inactive
   102  en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
   103  	options=460<TSO4,TSO6,CHANNEL_IO>
   104  	ether 82:44:91:6b:30:00 
   105  	media: autoselect <full-duplex>
   106  	status: inactive
   107  en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
   108  	options=460<TSO4,TSO6,CHANNEL_IO>
   109  	ether 82:44:91:6b:30:05 
   110  	media: autoselect <full-duplex>
   111  	status: inactive
   112  en4: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
   113  	options=460<TSO4,TSO6,CHANNEL_IO>
   114  	ether 82:44:91:6b:30:04 
   115  	media: autoselect <full-duplex>
   116  	status: inactive
   117  en5: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
   118  	ether ac:de:48:00:11:22 
   119  	inet6 fe80::aede:48ff:fe00:1122%en5 prefixlen 64 scopeid 0x4 
   120  	nd6 options=201<PERFORMNUD,DAD>
   121  	media: autoselect
   122  	status: active
   123  utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
   124  	inet6 fe80::40ab:25ad:ec90:75a2%utun0 prefixlen 64 scopeid 0xe 
   125  	nd6 options=201<PERFORMNUD,DAD>
   126  utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
   127  	inet6 fe80::f263:275a:39b3:361f%utun1 prefixlen 64 scopeid 0xf 
   128  	nd6 options=201<PERFORMNUD,DAD>
   129  utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
   130  	inet6 fe80::c8e1:e924:c5ea:316b%utun2 prefixlen 64 scopeid 0x10 
   131  	nd6 options=201<PERFORMNUD,DAD>
   132  utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
   133  	inet6 fe80::a445:d94b:5379:81d0%utun3 prefixlen 64 scopeid 0x11 
   134  	nd6 options=201<PERFORMNUD,DAD>
   135  """