@@ -345,7 +345,7 @@ def postTypeInit(self):
345345 s_types .Str .postTypeInit (self )
346346
347347 self .cpe22 = self .modl .type ('it:sec:cpe:v2_2' )
348- self .strtype = self .modl .type ('str' ).clone ({'lower' : True , 'strip' : True })
348+ self .strtype = self .modl .type ('str' ).clone ({'lower' : True })
349349 self .metatype = self .modl .type ('meta:name' )
350350
351351 async def _normPyStr (self , valu , view = None ):
@@ -634,7 +634,7 @@ async def _onFormItDevStr(node):
634634 ),
635635 'types' : (
636636
637- ('it:hostname' , ('str' , {'strip' : True , ' lower' : True }), {
637+ ('it:hostname' , ('str' , {'lower' : True }), {
638638 'interfaces' : (
639639 ('meta:observable' , {'template' : {'title' : 'hostname' }}),
640640 ),
@@ -912,7 +912,7 @@ async def _onFormItDevStr(node):
912912 ),
913913 'doc' : 'A memory mapped segment located in a process.' }),
914914
915- ('it:cmd' , ('str' , {'strip' : True }), {
915+ ('it:cmd' , ('str' , {}), {
916916 'doc' : 'A unique command-line string.' ,
917917 'ex' : 'foo.exe --dostuff bar' }),
918918
@@ -922,7 +922,7 @@ async def _onFormItDevStr(node):
922922 ('it:cmd:history' , ('guid' , {}), {
923923 'doc' : 'A single command executed within a session.' }),
924924
925- ('it:query' , ('str' , {'strip' : True }), {
925+ ('it:query' , ('str' , {}), {
926926 'doc' : 'A unique query string.' }),
927927
928928 ('it:exec:query' , ('guid' , {}), {
@@ -1454,47 +1454,47 @@ async def _onFormItDevStr(node):
14541454 ('v2_2' , ('it:sec:cpe:v2_2' , {}), {
14551455 'doc' : 'The CPE 2.2 string which is equivalent to the primary property.' }),
14561456
1457- ('part' , ('str' , {'lower' : True , 'strip' : True }), {
1457+ ('part' , ('str' , {'lower' : True }), {
14581458 'computed' : True ,
14591459 'doc' : 'The "part" field from the CPE 2.3 string.' }),
14601460
14611461 ('vendor' , ('meta:name' , {}), {
14621462 'computed' : True ,
14631463 'doc' : 'The "vendor" field from the CPE 2.3 string.' }),
14641464
1465- ('product' , ('str' , {'lower' : True , 'strip' : True }), {
1465+ ('product' , ('str' , {'lower' : True }), {
14661466 'computed' : True ,
14671467 'doc' : 'The "product" field from the CPE 2.3 string.' }),
14681468
1469- ('version' , ('str' , {'lower' : True , 'strip' : True }), {
1469+ ('version' , ('str' , {'lower' : True }), {
14701470 'computed' : True ,
14711471 'doc' : 'The "version" field from the CPE 2.3 string.' }),
14721472
1473- ('update' , ('str' , {'lower' : True , 'strip' : True }), {
1473+ ('update' , ('str' , {'lower' : True }), {
14741474 'computed' : True ,
14751475 'doc' : 'The "update" field from the CPE 2.3 string.' }),
14761476
1477- ('edition' , ('str' , {'lower' : True , 'strip' : True }), {
1477+ ('edition' , ('str' , {'lower' : True }), {
14781478 'computed' : True ,
14791479 'doc' : 'The "edition" field from the CPE 2.3 string.' }),
14801480
1481- ('language' , ('str' , {'lower' : True , 'strip' : True }), {
1481+ ('language' , ('str' , {'lower' : True }), {
14821482 'computed' : True ,
14831483 'doc' : 'The "language" field from the CPE 2.3 string.' }),
14841484
1485- ('sw_edition' , ('str' , {'lower' : True , 'strip' : True }), {
1485+ ('sw_edition' , ('str' , {'lower' : True }), {
14861486 'computed' : True ,
14871487 'doc' : 'The "sw_edition" field from the CPE 2.3 string.' }),
14881488
1489- ('target_sw' , ('str' , {'lower' : True , 'strip' : True }), {
1489+ ('target_sw' , ('str' , {'lower' : True }), {
14901490 'computed' : True ,
14911491 'doc' : 'The "target_sw" field from the CPE 2.3 string.' }),
14921492
1493- ('target_hw' , ('str' , {'lower' : True , 'strip' : True }), {
1493+ ('target_hw' , ('str' , {'lower' : True }), {
14941494 'computed' : True ,
14951495 'doc' : 'The "target_hw" field from the CPE 2.3 string.' }),
14961496
1497- ('other' , ('str' , {'lower' : True , 'strip' : True }), {
1497+ ('other' , ('str' , {'lower' : True }), {
14981498 'computed' : True ,
14991499 'doc' : 'The "other" field from the CPE 2.3 string.' }),
15001500 )),
@@ -1642,7 +1642,7 @@ async def _onFormItDevStr(node):
16421642 ('it:dev:repo:type:taxonomy' , {}, ()),
16431643 ('it:dev:repo' , {}, (
16441644
1645- ('name' , ('str' , {'lower' : True , 'strip' : True }), {
1645+ ('name' , ('str' , {'lower' : True }), {
16461646 'doc' : 'The name of the repository.' }),
16471647
16481648 ('desc' , ('text' , {}), {
@@ -1683,7 +1683,7 @@ async def _onFormItDevStr(node):
16831683 ('start' , ('it:dev:repo:commit' , {}), {
16841684 'doc' : 'The commit in the parent branch this branch was created at.' }),
16851685
1686- ('name' , ('str' , {'strip' : True }), {
1686+ ('name' , ('str' , {}), {
16871687 'doc' : 'The name of the branch.' }),
16881688
16891689 ('url' , ('inet:url' , {}), {
@@ -1746,7 +1746,7 @@ async def _onFormItDevStr(node):
17461746 ('repo' , ('it:dev:repo' , {}), {
17471747 'doc' : 'The repo where the issue was logged.' }),
17481748
1749- ('title' , ('str' , {'lower' : True , 'strip' : True }), {
1749+ ('title' , ('str' , {'lower' : True }), {
17501750 'doc' : 'The title of the issue.' }),
17511751
17521752 ('desc' , ('text' , {}), {
@@ -1767,7 +1767,7 @@ async def _onFormItDevStr(node):
17671767 ('id' , ('meta:id' , {}), {
17681768 'doc' : 'The ID of the label.' }),
17691769
1770- ('title' , ('str' , {'lower' : True , 'strip' : True }), {
1770+ ('title' , ('str' , {'lower' : True }), {
17711771 'doc' : 'The human friendly name of the label.' }),
17721772
17731773 ('desc' , ('text' , {}), {
@@ -2550,8 +2550,7 @@ async def _onFormItDevStr(node):
25502550 ('pattern' , ('str' , {}), {
25512551 'doc' : 'The STIX indicator pattern text.' }),
25522552
2553- ('pattern_type' , ('str' , {'strip' : True , 'lower' : True ,
2554- 'enums' : 'stix,pcre,sigma,snort,suricata,yara' }), {
2553+ ('pattern_type' , ('str' , {'lower' : True , 'enums' : 'stix,pcre,sigma,snort,suricata,yara' }), {
25552554 'doc' : 'The STIX indicator pattern type.' }),
25562555
25572556 ('created' , ('time' , {}), {
0 commit comments