9.1.16. Deploy Action Simple Against Windows Computers

Deploy an action using the package ‘Distribute Tanium Standard Utilities’ to all computers that pass the filter Operating System, that contains Windows, wait for result data to be complete, and then get result data

9.1.16.1. Step 1 - Authenticate to the SOAP API via /auth

1
2
3
4
5
6
7
8
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip, deflate",
  "Connection": "keep-alive",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "password": "VGFuaXVtMjAxNSE=",
  "username": "QWRtaW5pc3RyYXRvcg=="
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "110",
  "content-type": "text/plain; charset=us-ascii",
  "date": "Sat, 05 Sep 2015 05:20:00 GMT",
  "keep-alive": "timeout=5, max=100",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "vary": "Accept-Encoding",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.2. Step 2 - Get the server version via /info.json

1
2
3
4
5
6
7
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip, deflate",
  "Connection": "keep-alive",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
1
2
3
4
5
6
7
8
9
{
  "connection": "Keep-Alive",
  "content-length": "207",
  "content-type": "text/html; charset=iso-8859-1",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=99",
  "server": "Apache",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.3. Step 3 - Get the server version via /info.json

1
2
3
4
5
6
7
8
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip, deflate",
  "Connection": "keep-alive",
  "Content-Length": "0",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
1
2
3
4
{
  "content-length": "10258",
  "content-type": "application/json"
}

9.1.16.4. Step 4 - Issue a GetObject to get the full object of a package for inclusion in an action

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "581",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "2215",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=98",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.5. Step 5 - Issue a GetObject to get the full object of a sensor for inclusion in a Group for an Action

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "568",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "2156",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=97",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.6. Step 6 - Issue an AddObject to add a single Action (6.2 logic)

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "1375",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "854",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=96",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.7. Step 7 - Issue a GetObject on the recently added object in order to get the full object

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "488",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "816",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=95",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.8. Step 8 - Issue a GetObject to get the package for an Action

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "625",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "2201",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=94",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.9. Step 9 - Issue a GetResultInfo on an Action to have the Server create a question that tracks the results for a Deployed Action

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "552",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "766",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=93",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.10. Step 10 - Issue a GetObject on the package for an action to get the full object

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "625",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "2201",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=92",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.11. Step 11 - Issue a GetObject on the target_group for an action to get the full Group object

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "506",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "727",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=91",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.12. Step 12 - ID 195: Issuing an AddObject of a Question object with no Selects and the same Group used by the Action object. The number of systems that should successfully run the Action will be taken from result_info.passed_count for the Question asked when all answers for the question have reported in.

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "1142",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "731",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=90",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.13. Step 13 - Issue a GetObject on the recently added object in order to get the full object

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "493",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "960",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=89",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.14. Step 14 - Issue a GetResultInfo for a Question to check the current progress of answers

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "497",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "704",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:01 GMT",
  "keep-alive": "timeout=5, max=88",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.15. Step 15 - Issue a GetResultInfo for a Question to check the current progress of answers

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "497",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "716",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:06 GMT",
  "keep-alive": "timeout=5, max=87",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.16. Step 16 - Issue a GetResultInfo for a Question to check the current progress of answers

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "497",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "716",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:11 GMT",
  "keep-alive": "timeout=5, max=86",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.17. Step 17 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "1408",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "817",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:11 GMT",
  "keep-alive": "timeout=5, max=85",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.18. Step 18 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "552",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "766",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:11 GMT",
  "keep-alive": "timeout=5, max=84",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.19. Step 19 - Issue a GetResultData with the aggregate option set to True.This will return row counts of machines that have answered instead of all the data

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "626",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "831",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:11 GMT",
  "keep-alive": "timeout=5, max=83",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.20. Step 20 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "1408",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "816",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:16 GMT",
  "keep-alive": "timeout=5, max=82",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.21. Step 21 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "552",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "764",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:16 GMT",
  "keep-alive": "timeout=5, max=81",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.22. Step 22 - Issue a GetResultData with the aggregate option set to True.This will return row counts of machines that have answered instead of all the data

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "626",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "832",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:16 GMT",
  "keep-alive": "timeout=5, max=80",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.23. Step 23 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "1408",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "817",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:21 GMT",
  "keep-alive": "timeout=5, max=79",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.24. Step 24 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "552",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "764",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:21 GMT",
  "keep-alive": "timeout=5, max=78",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.25. Step 25 - Issue a GetResultData with the aggregate option set to True.This will return row counts of machines that have answered instead of all the data

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "626",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "884",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:21 GMT",
  "keep-alive": "timeout=5, max=77",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.26. Step 26 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "1408",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "817",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:21 GMT",
  "keep-alive": "timeout=5, max=76",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.27. Step 27 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "552",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "764",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:21 GMT",
  "keep-alive": "timeout=5, max=75",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.28. Step 28 - Issue a GetResultData for an Action with the aggregate option set to False. This will return all of the Action Statuses for each computer that have run this Action

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "580",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "902",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:21 GMT",
  "keep-alive": "timeout=5, max=74",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.29. Step 29 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "1408",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "816",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:26 GMT",
  "keep-alive": "timeout=5, max=73",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.30. Step 30 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "552",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "763",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:26 GMT",
  "keep-alive": "timeout=5, max=72",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.31. Step 31 - Issue a GetResultData for an Action with the aggregate option set to False. This will return all of the Action Statuses for each computer that have run this Action

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "580",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "902",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:26 GMT",
  "keep-alive": "timeout=5, max=71",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.32. Step 32 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "1408",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "817",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:31 GMT",
  "keep-alive": "timeout=5, max=70",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.33. Step 33 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "552",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "763",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:31 GMT",
  "keep-alive": "timeout=5, max=69",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.34. Step 34 - Issue a GetResultData for an Action with the aggregate option set to False. This will return all of the Action Statuses for each computer that have run this Action

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "580",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "902",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:31 GMT",
  "keep-alive": "timeout=5, max=68",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.35. Step 35 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "1408",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "817",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:36 GMT",
  "keep-alive": "timeout=5, max=67",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.36. Step 36 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "552",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "766",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:36 GMT",
  "keep-alive": "timeout=5, max=66",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

9.1.16.37. Step 37 - Issue a GetResultData for an Action with the aggregate option set to False. This will return all of the Action Statuses for each computer that have run this Action

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "580",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "25-1586-defc933eca4c058dab3d47103fe2105f9b34742be90d18d3975932bad186e936d08ed4ba83f8ae4b341c31d26d9fe793735f4f06af407931308a1c2fab78c783"
}
  • Response Headers:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "connection": "Keep-Alive",
  "content-encoding": "gzip",
  "content-length": "903",
  "content-type": "text/xml;charset=UTF-8",
  "date": "Sat, 05 Sep 2015 05:20:36 GMT",
  "keep-alive": "timeout=5, max=65",
  "server": "Apache",
  "strict-transport-security": "max-age=15768000",
  "x-frame-options": "SAMEORIGIN"
}

Footnotes

[1]this file automatically created by BUILD/build_api_examples.py