updated some TNC scenarios

This commit is contained in:
Andreas Steffen
2013-07-19 19:36:07 +02:00
parent dcd5129c25
commit 645e9291f0
4 changed files with 59 additions and 18 deletions
@@ -9,12 +9,13 @@ exchange PA-TNC attributes.
<p>
<b>carol</b> sends information on her operating system consisting of the PA-TNC attributes
<em>Product Information</em>, <em>String Version</em>, <em>Numeric Version</em>,
<em>Operational Status</em>, <em>Forwarding Enabled</em>, and
<em>Factory Default Password Enabled</em> up-front, whereas <b>dave</b> must be prompted
by the IMV to do so via an <em>Attribute Request</em> PA-TNC attribute. <b>carol</b> is
then prompted to send a list of installed packages using the <em>Installed Packages</em>
PA-TNC attribute whereas <b>dave</b>'s "Windows 1.2.3" operating system is not supported
and thus <b>dave</b> receives a <em>Remediation Instructions</em> PA-TNC attribute.
<em>Operational Status</em>, <em>Forwarding Enabled</em>, <em>Factory Default Password Enabled</em>
and <em>Device ID> up-front, whereas <b>dave</b> must be prompted by the IMV to do so via an
<em>Attribute Request</em> PA-TNC attribute. <b>carol</b> is then prompted to send a list of
installed packages using the <em>Installed Packages</em> PA-TNC attribute. Since <b>dave</b>
successfully connected to the VPN gateway shortly before, no new list of installed packages is
requested again but because IP forwarding is enabled <b>dave</b> receives a corresponding
<em>Remediation Instructions</em> PA-TNC attribute.
<p>
<b>carol</b> passes the health test and <b>dave</b> fails. Based on these assessments
which are communicated to the IMCs using the <em>Assessment Result</em> PA-TNC attribute,
@@ -666,6 +666,46 @@ INSERT INTO groups_product_defaults (
3, 22
);
/* Devices */
INSERT INTO devices ( /* 1 */
value, product, created
) VALUES (
'aabbccddeeff11223344556677889900', 4, 1372330615
);
/* Groups Members */
INSERT INTO groups_members (
group_id, device_id
) VALUES (
5, 1
);
/* Identities */
INSERT INTO identities (
type, value
) VALUES ( /* [email protected] */
4, X'64617665407374726f6e677377616e2e6f7267'
);
/* Sessions */
INSERT INTO sessions (
time, connection, identity, device, product, rec
) VALUES (
NOW, 1, 1, 1, 4, 0
);
/* Results */
INSERT INTO results (
session, policy, rec, result
) VALUES (
1, 1, 0, 'processed 355 packages: 0 not updated, 0 blacklisted, 4 ok, 351 not found'
);
/* Policies */
INSERT INTO policies ( /* 1 */